diff options
-rw-r--r-- | lib/safe-read.h | 10 |
1 files changed, 9 insertions, 1 deletions
diff --git a/lib/safe-read.h b/lib/safe-read.h index 3734671de..be957a669 100644 --- a/lib/safe-read.h +++ b/lib/safe-read.h @@ -1,2 +1,10 @@ +#ifndef PARAMS +# if defined PROTOTYPES || (defined __STDC__ && __STDC__) +# define PARAMS(Args) Args +# else +# define PARAMS(Args) () +# endif +#endif + ssize_t -safe_read (int desc, char *ptr, size_t len); +safe_read PARAMS ((int desc, char *ptr, size_t len)); |