From 5e869b4eabaf428b36b5bc158ab4047d25e3eb5b Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 25 Aug 2004 07:15:21 +0000 Subject: r2055: Add PRINTF_ATTRIBUTE to many more parts of the code, and a new --enable-developer warning for when they are missing. Andrew Bartlett (This used to be commit 8115e44d47bcd65edba08d10117180ae508cdbc1) --- source4/lib/tdb_helper.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'source4/lib/tdb_helper.c') diff --git a/source4/lib/tdb_helper.c b/source4/lib/tdb_helper.c index 22c4d1bb45..2698e3cc71 100644 --- a/source4/lib/tdb_helper.c +++ b/source4/lib/tdb_helper.c @@ -29,6 +29,8 @@ Log tdb messages via DEBUG(). ****************************************************************************/ +static void tdb_log(TDB_CONTEXT *tdb, int level, const char *format, ...) PRINTF_ATTRIBUTE(3,4); + static void tdb_log(TDB_CONTEXT *tdb, int level, const char *format, ...) { va_list ap; -- cgit