Turn back on fmtcheck's attribute checks, guarded for non-GCC compilers.

Submitted by:	bde
This commit is contained in:
David E. O'Brien 2001-12-04 21:30:23 +00:00
parent e25076d79c
commit 1bd6873376
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=87369

View File

@ -309,8 +309,14 @@ __END_DECLS
__BEGIN_DECLS
int asprintf __P((char **, const char *, ...)) __printflike(2, 3);
char *ctermid_r __P((char *));
__const char *fmtcheck __P((const char *, const char *));
char *fgetln __P((FILE *, size_t *));
#ifdef __GNUC__
#if __GNUC__ == 2 && __GNUC_MINOR__ >= 7 || __GNUC__ >= 3
#define __ATTR_FORMAT_ARG __attribute__((__format_arg__(2)))
#else
#define __ATTR_FORMAT_ARG
#endif
__const char *fmtcheck __P((const char *, const char *)) __ATTR_FORMAT_ARG;
int fpurge __P((FILE *));
int fseeko __P((FILE *, _BSD_OFF_T_, int));
_BSD_OFF_T_ ftello __P((FILE *));