From 69b799264e95500c42ff3af0b161dc7c3f1826d2 Mon Sep 17 00:00:00 2001 From: jhb Date: Fri, 2 May 2008 15:28:23 +0000 Subject: - Move declaration of renameat() to the existing section of BSD_VISIBLE function prototypes. - Fix a few whitespace inconsistencies in prototypes. MFC after: 1 month --- include/stdio.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'include/stdio.h') diff --git a/include/stdio.h b/include/stdio.h index 808c308..dcac1d7 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -213,10 +213,10 @@ int putc_unlocked(int, FILE *); int putchar_unlocked(int); #endif #if __BSD_VISIBLE -void clearerr_unlocked(FILE *); -int feof_unlocked(FILE *); -int ferror_unlocked(FILE *); -int fileno_unlocked(FILE *); +void clearerr_unlocked(FILE *); +int feof_unlocked(FILE *); +int ferror_unlocked(FILE *); +int fileno_unlocked(FILE *); #endif #if __POSIX_VISIBLE >= 200112 @@ -239,10 +239,11 @@ char *tempnam(const char *, const char *); #if __BSD_VISIBLE int asprintf(char **, const char *, ...) __printflike(2, 3); char *ctermid_r(char *); -void fcloseall(void); +void fcloseall(void); char *fgetln(FILE *, size_t *); __const char *fmtcheck(const char *, const char *) __format_arg(2); int fpurge(FILE *); +int renameat(int, const char *, int, const char *); void setbuffer(FILE *, char *, int); int setlinebuf(FILE *); int vasprintf(char **, const char *, __va_list) @@ -289,7 +290,6 @@ int truncate(const char *, __off_t); #endif /* __BSD_VISIBLE */ #if __BSD_VISIBLE -int renameat(int, const char *, int, const char *); #endif __END_DECLS #endif /* !_STDIO_H_ */ -- cgit v1.1