On Sat, Apr 20, 2002 at 02:44:29AM -0700, Guy Harris wrote: > > On my Redhat Linux 7.2 i586 system I am a little concerned about these > > compilation warnings: > > > > gcc -O2 -DHAVE_CONFIG_H -I. -I../libpcap -I./missing -I/usr/include -c >./print-nfs.c > > ./print-nfs.c: In function `nfs_printfh': > > ./print-nfs.c:761: warning: passing arg 6 of `Parse_fh' from incompatible pointer >type
That's fixed in the top-of-tree CVS code. > > gcc -O2 -DHAVE_CONFIG_H -I. -I../libpcap -I./missing -I/usr/include -c >./print-raw.c > > cc -O2 -DHAVE_CONFIG_H -I. -I../libpcap -I./missing -I/usr/include -c >./setsignal.c > > ./setsignal.c: In function `setsignal': > > ./setsignal.c:72: warning: return makes pointer from integer without a cast > > Can anybody think of a good reason *why* we "prefer sigset() to > sigaction()", as the AC_LBL_TYPE_SIGNAL macro does? If we don't do that, > and just use "sigaction()" (the standard POSIX call) if present, that > warning will, I think, go away. Well, nobody gave a reason, so I've checked in a change to make that macro prefer "sigaction()". - This is the TCPDUMP workers list. It is archived at http://www.tcpdump.org/lists/workers/index.html To unsubscribe use mailto:[EMAIL PROTECTED]?body=unsubscribe