(PARAMS): Define.
authorJim Meyering <jim@meyering.net>
Sun, 5 Mar 2000 10:21:58 +0000 (10:21 +0000)
committerJim Meyering <jim@meyering.net>
Sun, 5 Mar 2000 10:21:58 +0000 (10:21 +0000)
Use it to guard prototype.

lib/unicodeio.h

index ae6b939a8c08cf1fffb2b44b9a22595c00bfb8be..f4bd1b7f700984a4b41857b80236f1a4c560f165 100644 (file)
@@ -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