From: Jim Meyering Date: Sun, 5 Mar 2000 10:21:58 +0000 (+0000) Subject: (PARAMS): Define. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=09ca7bd9021ef8cb51ef02efddf36401efa70da0;p=pspp (PARAMS): Define. Use it to guard prototype. --- diff --git a/lib/unicodeio.h b/lib/unicodeio.h index ae6b939a8c..f4bd1b7f70 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