From cdcec269e0772dac2001aeb433e92144c387a5f9 Mon Sep 17 00:00:00 2001 From: Tim Potter Date: Mon, 9 Feb 2004 00:59:22 +0000 Subject: Apply James' printf format checking patch for SGI MIPSPro compiler. (This used to be commit 27242f44e6cfa10b7b7f74bcfb6c81786aaffae0) --- source3/include/debug.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'source3') 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 ); -- cgit