diff options
author | Jim Meyering <jim@meyering.net> | 1996-05-16 03:58:44 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 1996-05-16 03:58:44 +0000 |
commit | 2c226bf49d5374db44c6cc4f6c7f5750afdd5362 (patch) | |
tree | c419341871fb40d5d43f30e67ca17a1b79632843 | |
parent | 8a623ebc610cc75c3e875a1e193cc21bae02fd89 (diff) | |
download | coreutils-2c226bf49d5374db44c6cc4f6c7f5750afdd5362.tar.xz |
Update prototypes.
-rw-r--r-- | lib/modechange.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/lib/modechange.h b/lib/modechange.h index 4a2988304..0257ef00c 100644 --- a/lib/modechange.h +++ b/lib/modechange.h @@ -44,12 +44,14 @@ struct mode_change #define MODE_INVALID (struct mode_change *) 0 #define MODE_MEMORY_EXHAUSTED (struct mode_change *) 1 -#ifdef __STDC__ -struct mode_change *mode_compile (char *, unsigned); -unsigned short mode_adjust (unsigned, struct mode_change *); -void mode_free (struct mode_change *); +#ifndef __P +#if defined (__GNUC__) || (defined (__STDC__) && __STDC__) +#define __P(args) args #else -struct mode_change *mode_compile (); -unsigned short mode_adjust (); -void mode_free (); -#endif +#define __P(args) () +#endif /* GCC. */ +#endif /* Not __P. */ + +struct mode_change *mode_compile __P ((const char *, unsigned)); +unsigned short mode_adjust __P ((unsigned, const struct mode_change *)); +void mode_free __P ((struct mode_change *)); |