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