diff options
author | jhb <jhb@FreeBSD.org> | 2008-05-02 15:28:23 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2008-05-02 15:28:23 +0000 |
commit | 69b799264e95500c42ff3af0b161dc7c3f1826d2 (patch) | |
tree | 045b352f5c1ddcfc0274d271bc4d9f0055b7b399 | |
parent | 809ddff4fd01ab65b99be2f04070d17450509b93 (diff) | |
download | FreeBSD-src-69b799264e95500c42ff3af0b161dc7c3f1826d2.zip FreeBSD-src-69b799264e95500c42ff3af0b161dc7c3f1826d2.tar.gz |
- Move declaration of renameat() to the existing section of BSD_VISIBLE
function prototypes.
- Fix a few whitespace inconsistencies in prototypes.
MFC after: 1 month
-rw-r--r-- | include/stdio.h | 12 |
1 files changed, 6 insertions, 6 deletions
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_ */ |