aboutsummaryrefslogtreecommitdiffstats
path: root/lib/unicodeio.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/unicodeio.h')
-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