Mercurial > hg > octave-nkf > gnulib-hg
changeset 2336:e9eaa61f08f4
(PARAMS): Define.
Use it to guard prototype.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sun, 05 Mar 2000 10:21:58 +0000 |
parents | 4be31d28fc05 |
children | 6247100eb33e |
files | lib/unicodeio.h |
diffstat | 1 files changed, 9 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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