diff options
author | Tim Potter <tpot@samba.org> | 2004-02-09 00:59:34 +0000 |
---|---|---|
committer | Tim Potter <tpot@samba.org> | 2004-02-09 00:59:34 +0000 |
commit | 4a72e82d6940dd717199819e68d9ef28570053ed (patch) | |
tree | a55648b3ec19a8c2e9deedd64242108afdcda2ef /source3/include | |
parent | c49ebaa777a1b22b9e5d6efe399f9f9206683cba (diff) | |
download | samba-4a72e82d6940dd717199819e68d9ef28570053ed.tar.gz samba-4a72e82d6940dd717199819e68d9ef28570053ed.tar.bz2 samba-4a72e82d6940dd717199819e68d9ef28570053ed.zip |
Apply James' printf format checking patch for SGI MIPSPro compiler.
(This used to be commit b354fa606d65ff3621b2870a2ef85d980913f319)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/debug.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/include/debug.h b/source3/include/debug.h index d47f69db65..55f07d8a18 100644 --- a/source3/include/debug.h +++ b/source3/include/debug.h @@ -35,8 +35,11 @@ /* I know the __attribute__ stuff is ugly, but it does ensure we get the arguemnts to DEBUG() right. We have got them wrong too often in the past. + The PRINTFLIKE comment does the equivalent for SGI MIPSPro. */ +/* PRINTFLIKE1 */ int Debug1( const char *, ... ) PRINTF_ATTRIBUTE(1,2); +/* PRINTFLIKE1 */ BOOL dbgtext( const char *, ... ) PRINTF_ATTRIBUTE(1,2); BOOL dbghdr( int level, const char *file, const char *func, int line ); |