From fa39a6bea14d8f808d3a86a73c6de5b08ffdfc2a Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Sun, 16 Aug 1998 15:26:20 +0000 Subject: [PATCH] (PARAMS): Define and use. --- lib/filemode.h | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/lib/filemode.h b/lib/filemode.h index 331a5d624f..162e07a0da 100644 --- a/lib/filemode.h +++ b/lib/filemode.h @@ -1 +1,9 @@ -void mode_string (short unsigned int mode, char *str); +#ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif +#endif + +void mode_string PARAMS ((short unsigned int mode, char *str)); -- 2.30.2