small patch for sparc-linux-gnulibc1
David S. Miller
davem@jenolan.rutgers.edu
Mon Oct 20 14:00:00 GMT 1997
From: Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
Date: 20 Oct 1997 11:07:10 +0200
|> #if defined (WINNT) || defined (NEED_ATEXIT)
|> extern int atexit (void (*) (void));
|> #else
|> extern void atexit (void (*) (void));
|> #endif
Note that the second prototype is broken anyway. atexit has always
returned int, not void.
Broken or not, all the libc5 based systems I do work on have that
prototype in both the headers and the man pages. So we have to handle
it.
Later,
David S. Miller
davem@caip.rutgers.edu
More information about the Gcc
mailing list