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.
This commit is contained in:
briggs 2000-11-15 15:44:05 +00:00
parent ced4cea08e
commit e4bb13f3cd
2 changed files with 4 additions and 5 deletions

View File

@ -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
/*

View File

@ -1,4 +1,4 @@
/* $NetBSD: stdlib.h,v 1.49 2000/10/20 18:46:05 briggs Exp $ */
/* $NetBSD: stdlib.h,v 1.50 2000/11/15 15:44:05 briggs Exp $ */
/*-
* Copyright (c) 1990, 1993
@ -255,9 +255,6 @@ void unsetenv __P((const char *));
void setproctitle __P((const char *, ...))
__attribute__((__format__(__printf__, 1, 2)));
__const char *fmtcheck __P((const char *, const char *))
__attribute__((__format_arg__(2)));
quad_t qabs __P((quad_t));
qdiv_t qdiv __P((quad_t, quad_t));
quad_t strtoq __P((const char *, char **, int));