* 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.
Этот коммит содержится в:
родитель
4bd227b376
Коммит
f76a2c4576
@ -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;
|
||||
}
|
||||
|
Загрузка…
x
Ссылка в новой задаче
Block a user