diff options
| author | briggs <briggs@NetBSD.org> | 2000-11-15 15:44:05 +0000 |
|---|---|---|
| committer | briggs <briggs@NetBSD.org> | 2000-11-15 15:44:05 +0000 |
| commit | e4bb13f3cd2acaf2ba0d5dc6858475ea43f2388a (patch) | |
| tree | 0cfd231ac2447044163205cdbcc84812f300a9b4 /include/stdio.h | |
| parent | ced4cea08e6f8a5840b329d5722c1aa3e15034e0 (diff) | |
Move fmtcheck() prototype to stdio.h. It makes more sense to declare it
with the formatting functions with which it is meant to be used. Thanks
to Klaus Klein for "encouraging" me to make this change.
Diffstat (limited to 'include/stdio.h')
| -rw-r--r-- | include/stdio.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/stdio.h b/include/stdio.h index 5c9f6d04a1b..0a762e23137 100644 --- a/include/stdio.h +++ b/include/stdio.h @@ -1,4 +1,4 @@ -/* $NetBSD: stdio.h,v 1.38 2000/07/28 09:38:15 kleink Exp $ */ +/* $NetBSD: stdio.h,v 1.39 2000/11/15 15:44:05 briggs Exp $ */ /*- * Copyright (c) 1990, 1993 @@ -362,6 +362,8 @@ int vscanf __P((const char *, _BSD_VA_LIST_)) __attribute__((__format__(__scanf__, 1, 0))); int vsscanf __P((const char *, const char *, _BSD_VA_LIST_)) __attribute__((__format__(__scanf__, 2, 0))); +__const char *fmtcheck __P((const char *, const char *)) + __attribute__((__format_arg__(2))); __END_DECLS /* |
