aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>2000-03-05 10:21:58 +0000
committerJim Meyering <jim@meyering.net>2000-03-05 10:21:58 +0000
commitaca3853e18394ac12f46d57348961e40cfe43a1c (patch)
tree17d2e0a29ac51d10c404eb0fcf15f82d70de7ef0
parent. (diff)
downloadcoreutils-aca3853e18394ac12f46d57348961e40cfe43a1c.tar.gz
coreutils-aca3853e18394ac12f46d57348961e40cfe43a1c.zip
(PARAMS): Define.
Use it to guard prototype.
-rw-r--r--lib/unicodeio.h10
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