From 4b64f84a432f94425359802d506816872f43c5d7 Mon Sep 17 00:00:00 2001 From: robert Date: Wed, 14 Aug 2002 23:45:42 +0000 Subject: - Add the 'restrict' qualifier to the function definitions and public prototypes of setbuf(3) and setvbuf(3) using the '__restrict' macro from to be compliant with IEEE Std 1003.1-2001. - Replace the K&R with ANSI-C function definitions. - Bring the manual page up-to-date. --- include/stdio.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/stdio.h') diff --git a/include/stdio.h b/include/stdio.h index 0d241fa..4067b79 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -243,8 +243,8 @@ int remove(const char *); int rename(const char *, const char *); void rewind(FILE *); int scanf(const char *, ...); -void setbuf(FILE *, char *); -int setvbuf(FILE *, char *, int, size_t); +void setbuf(FILE *__restrict, char *__restrict); +int setvbuf(FILE *__restrict, char *__restrict, int, size_t); int sprintf(char *, const char *, ...); int sscanf(const char *, const char *, ...); FILE *tmpfile(void); -- cgit v1.1