| 1 | |
| 2 | |
| 3 | @@ -177,7 +177,7 @@
|
| 4 | VOID *realloc ();
|
| 5 | #endif
|
| 6 | #ifndef getenv
|
| 7 | -char *getenv ();
|
| 8 | +char *getenv (const char *);
|
| 9 | #endif
|
| 10 |
|
| 11 | #include <limits.h>
|
| 12 | |
| 13 | |
| 14 | @@ -24,7 +24,7 @@
|
| 15 | #endif
|
| 16 |
|
| 17 | #ifndef strerror
|
| 18 | -extern char *strerror ();
|
| 19 | +extern char *strerror (int);
|
| 20 | #endif
|
| 21 |
|
| 22 | /* Queue up one-line messages to be printed at the end,
|
| 23 | |
| 24 | |
| 25 | @@ -124,7 +124,7 @@
|
| 26 | whose names are inconsistent. */
|
| 27 |
|
| 28 | #ifndef getenv
|
| 29 | -extern char *getenv ();
|
| 30 | +extern char *getenv (const char *);
|
| 31 | #endif
|
| 32 |
|
| 33 | #endif /* not __GNU_LIBRARY__ */
|
| 34 | |
| 35 | |
| 36 | @@ -56,7 +56,7 @@
|
| 37 |
|
| 38 | /* Define linked list of signal handlers structure */
|
| 39 | struct SIG_hlist {
|
| 40 | - RETSIGTYPE (*handler)();
|
| 41 | + RETSIGTYPE (*handler)(int);
|
| 42 | struct SIG_hlist *next;
|
| 43 | };
|
| 44 |
|
| 45 | @@ -220,7 +220,7 @@
|
| 46 | * restoration later.
|
| 47 | */
|
| 48 |
|
| 49 | -int SIG_register(int sig, RETSIGTYPE (*fn)())
|
| 50 | +int SIG_register(int sig, RETSIGTYPE (*fn)(int))
|
| 51 | {
|
| 52 | int val;
|
| 53 | struct SIG_hlist *this;
|