Mercurial > hg > octave-lojdl > gnulib-hg
changeset 3019:07367d07a6db
Make idempotent, to avoid some obscure warnings.
author | Jim Meyering <jim@meyering.net> |
---|---|
date | Sat, 02 Dec 2000 20:45:30 +0000 |
parents | 17fdba235753 |
children | 512c41641ac9 |
files | lib/closeout.h |
diffstat | 1 files changed, 11 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/lib/closeout.h +++ b/lib/closeout.h @@ -1,12 +1,17 @@ -#ifndef PARAMS -# if defined PROTOTYPES || (defined __STDC__ && __STDC__) -# define PARAMS(Args) Args -# else -# define PARAMS(Args) () +#ifndef CLOSEOUT_H +# define CLOSEOUT_H 1 + +# ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif # endif -#endif void close_stdout_set_status PARAMS ((int status)); void close_stdout_set_file_name PARAMS ((const char *file)); void close_stdout PARAMS ((void)); void close_stdout_status PARAMS ((int status)); + +#endif