summaryrefslogtreecommitdiffstats
path: root/source/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
commit27242f44e6cfa10b7b7f74bcfb6c81786aaffae0 (patch)
tree80b01e275b93e63129e96ce21cd0707a7fa60362 /source/include/debug.h
parent203ce018365d350c8c0a3f512651cff2b0791b6c (diff)
downloadsamba-27242f44e6cfa10b7b7f74bcfb6c81786aaffae0.tar.gz
samba-27242f44e6cfa10b7b7f74bcfb6c81786aaffae0.tar.xz
samba-27242f44e6cfa10b7b7f74bcfb6c81786aaffae0.zip
Apply James' printf format checking patch for SGI MIPSPro compiler.
Diffstat (limited to 'source/include/debug.h')
-rw-r--r--source/include/debug.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/source/include/debug.h b/source/include/debug.h
index d47f69db65b..55f07d8a18e 100644
--- a/source/include/debug.h
+++ b/source/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 );