summaryrefslogtreecommitdiff
path: root/source3/include/debug.h
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2004-02-09 00:59:22 +0000
committerTim Potter <tpot@samba.org>2004-02-09 00:59:22 +0000
commitcdcec269e0772dac2001aeb433e92144c387a5f9 (patch)
tree3aeafdf63004cfa2db6b8a2d7083d8a6de0dc85f /source3/include/debug.h
parentf1429b0edccc663b10fc1ff6ccaba84aa52ea16d (diff)
downloadsamba-cdcec269e0772dac2001aeb433e92144c387a5f9.tar.gz
samba-cdcec269e0772dac2001aeb433e92144c387a5f9.tar.bz2
samba-cdcec269e0772dac2001aeb433e92144c387a5f9.zip
Apply James' printf format checking patch for SGI MIPSPro compiler.
(This used to be commit 27242f44e6cfa10b7b7f74bcfb6c81786aaffae0)
Diffstat (limited to 'source3/include/debug.h')
-rw-r--r--source3/include/debug.h3
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 );