diff --git a/vfs/ChangeLog b/vfs/ChangeLog index 70be4a474..ca00d9934 100644 --- a/vfs/ChangeLog +++ b/vfs/ChangeLog @@ -1,3 +1,9 @@ +2001-06-18 Pavel Roskin + + * tcputil.c (sig_pipe): Use the same declaration with one int + argument - it's used everywhere else and it fixes a warning on + systems unlisted in the ifdef, e.g. OpenBSD. + 2001-06-14 Pavel Roskin * ftpfs.c: Declare functions without declarations static. Don't diff --git a/vfs/tcputil.c b/vfs/tcputil.c index e72300ebc..65abaf986 100644 --- a/vfs/tcputil.c +++ b/vfs/tcputil.c @@ -239,12 +239,7 @@ void rpc_add_get_callback (int sock, void (*cback)(int)) sock_callbacks = new; } -#if defined(IS_AIX) || defined(linux) || defined(SCO_FLAVOR) \ - || defined(__QNX__) || defined(__FreeBSD__) || defined(__bsdi__) static void sig_pipe (int unused) -#else -static void sig_pipe (void) -#endif { got_sigpipe = 1; }