diff options
author | bde <bde@FreeBSD.org> | 1998-08-02 14:35:35 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-08-02 14:35:35 +0000 |
commit | 950c1ed8023331a60b69fddd35acb5f1dfbb39d8 (patch) | |
tree | 4b1bff02f7b2dce7e6cb281f3288c5d16be4143c /gnu | |
parent | f2d2a0561a32a13c548cb512809f2e3e1a1def9e (diff) | |
download | FreeBSD-src-950c1ed8023331a60b69fddd35acb5f1dfbb39d8.zip FreeBSD-src-950c1ed8023331a60b69fddd35acb5f1dfbb39d8.tar.gz |
Fixed printf format warnings for non-errors. This change is null unless
a system header defines a macro __printf0like() using the new printf0
format attribute. uucp's internal ulog() function isn't actually
printf-like but uucp normally declares it as such.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/libexec/uucp/common_sources/uudefs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/libexec/uucp/common_sources/uudefs.h b/gnu/libexec/uucp/common_sources/uudefs.h index 2b45502..bf3d9f4 100644 --- a/gnu/libexec/uucp/common_sources/uudefs.h +++ b/gnu/libexec/uucp/common_sources/uudefs.h @@ -287,8 +287,12 @@ extern boolean fparse_cmd P((char *zcmd, struct scmd *qcmd)); #if ANSI_C && HAVE_VFPRINTF extern void ulog P((enum tlog ttype, const char *zfmt, ...)) #if GNUC_VERSION > 1 +#ifdef __printf0like + __printf0like (2, 3) +#else __attribute__ ((format (printf, 2, 3))) #endif +#endif ; #else extern void ulog (); |