summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2002-05-24 06:17:29 +0000
committerthorpej <thorpej@NetBSD.org>2002-05-24 06:17:29 +0000
commitb57df3dd9ddd38591840541a22c49084c0c812de (patch)
tree7cfaf664257f12eb360dd085b8c84056d4e977fa /include
parent5ab78ccf04115f4215faa84fbca4681761b0952b (diff)
Add a scanf format attribute to __svfscanf().
Diffstat (limited to 'include')
-rw-r--r--include/stdio.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 91600d6315b..abdfe5dfd84 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -1,4 +1,4 @@
-/* $NetBSD: stdio.h,v 1.42 2001/12/07 11:47:40 yamt Exp $ */
+/* $NetBSD: stdio.h,v 1.43 2002/05/24 06:17:29 thorpej Exp $ */
/*-
* Copyright (c) 1990, 1993
@@ -405,7 +405,8 @@ __END_DECLS
__BEGIN_DECLS
int __srget __P((FILE *));
int __svfscanf __P((FILE * __restrict, const char * __restrict,
- _BSD_VA_LIST_));
+ _BSD_VA_LIST_))
+ __attribute__((__format__(__scanf__, 2, 0)));
int __swbuf __P((int, FILE *));
__END_DECLS