diff options
author | Jim Meyering <jim@meyering.net> | 2000-03-05 10:21:58 +0000 |
---|---|---|
committer | Jim Meyering <jim@meyering.net> | 2000-03-05 10:21:58 +0000 |
commit | aca3853e18394ac12f46d57348961e40cfe43a1c (patch) | |
tree | 17d2e0a29ac51d10c404eb0fcf15f82d70de7ef0 /lib | |
parent | 93be9a66d7cd4b95c166960b0e2170ec93a6addd (diff) | |
download | coreutils-aca3853e18394ac12f46d57348961e40cfe43a1c.tar.xz |
(PARAMS): Define.
Use it to guard prototype.
Diffstat (limited to 'lib')
-rw-r--r-- | lib/unicodeio.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/unicodeio.h b/lib/unicodeio.h index ae6b939a8..f4bd1b7f7 100644 --- a/lib/unicodeio.h +++ b/lib/unicodeio.h @@ -3,7 +3,15 @@ # include <stdio.h> +# ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif +# endif + /* Outputs the Unicode character CODE to the output stream STREAM. */ -extern void print_unicode_char (FILE *stream, unsigned int code); +extern void print_unicode_char PARAMS((FILE *stream, unsigned int code)); #endif |