diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-12-06 17:19:02 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2000-12-06 17:19:02 +0000 |
commit | f3a240ca8c81a2aaacfe850d2ea6d470be9c69f0 (patch) | |
tree | 67f580f89ee92012d481f5f1323870404749c7f9 /include/stdio.h | |
parent | e1a1e49b6d8f502fccd06d6369cb83e0ed290131 (diff) |
use __x__ formats for __attribute__ arguments; guenther@gac.edu
Diffstat (limited to 'include/stdio.h')
-rw-r--r-- | include/stdio.h | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/include/stdio.h b/include/stdio.h index f258dbaa31c..657802fecbb 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -1,4 +1,4 @@ -/* $OpenBSD: stdio.h,v 1.14 2000/03/04 17:16:02 millert Exp $ */ +/* $OpenBSD: stdio.h,v 1.15 2000/12/06 17:18:42 deraadt Exp $ */ /* $NetBSD: stdio.h,v 1.18 1996/04/25 18:29:21 jtc Exp $ */ /*- @@ -303,7 +303,7 @@ __END_DECLS #if !defined (_ANSI_SOURCE) && !defined(_POSIX_SOURCE) __BEGIN_DECLS int asprintf __P((char **, const char *, ...)) - __attribute__((format (printf, 2, 3))); + __attribute__((__format__ (printf, 2, 3))); char *fgetln __P((FILE *, size_t *)); int fpurge __P((FILE *)); int getw __P((FILE *)); @@ -314,15 +314,15 @@ void setbuffer __P((FILE *, char *, int)); int setlinebuf __P((FILE *)); char *tempnam __P((const char *, const char *)); int snprintf __P((char *, size_t, const char *, ...)) - __attribute__((format (printf, 3, 4))); + __attribute__((__format__ (printf, 3, 4))); int vasprintf __P((char **, const char *, _BSD_VA_LIST_)) - __attribute__((format (printf, 2, 0))); + __attribute__((__format__ (printf, 2, 0))); int vsnprintf __P((char *, size_t, const char *, _BSD_VA_LIST_)) - __attribute__((format (printf, 3, 0))); + __attribute__((__format__ (printf, 3, 0))); int vscanf __P((const char *, _BSD_VA_LIST_)) - __attribute__((format (scanf, 1, 0))); + __attribute__((__format__ (scanf, 1, 0))); int vsscanf __P((const char *, const char *, _BSD_VA_LIST_)) - __attribute__((format (scanf, 2, 0))); + __attribute__((__format__ (scanf, 2, 0))); __END_DECLS /* |