From aca3853e18394ac12f46d57348961e40cfe43a1c Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 5 Mar 2000 10:21:58 +0000 Subject: [PATCH] (PARAMS): Define. Use it to guard prototype. --- lib/unicodeio.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/unicodeio.h b/lib/unicodeio.h index ae6b939..f4bd1b7 100644 --- a/lib/unicodeio.h +++ b/lib/unicodeio.h @@ -3,7 +3,15 @@ # include +# 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 -- 2.7.4