1
1

* 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.
Этот коммит содержится в:
Pavel Roskin 2001-06-18 20:35:44 +00:00
родитель 4bd227b376
Коммит f76a2c4576
2 изменённых файлов: 6 добавлений и 5 удалений

Просмотреть файл

@ -1,3 +1,9 @@
2001-06-18 Pavel Roskin <proski@gnu.org>
* 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 <proski@gnu.org>
* ftpfs.c: Declare functions without declarations static. Don't

Просмотреть файл

@ -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;
}