r20316: fix compiler warning
authorStefan Metzmacher <metze@samba.org>
Fri, 22 Dec 2006 16:53:12 +0000 (16:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:29:38 +0000 (14:29 -0500)
metze
(This used to be commit 58cbbaa4b49bfed6d4e9c5802af988864e06675f)

source4/lib/ldb/include/ldb.h

index b00bb0fd46c295bc89371c4032a942f806ecc58d..3f9ba671709df1b68b170af40aaf8f357ef301d0 100644 (file)
@@ -1002,7 +1002,7 @@ int ldb_search(struct ldb_context *ldb,
 int ldb_search_exp_fmt(struct ldb_context *ldb, TALLOC_CTX *mem_ctx,
                       struct ldb_result **result, struct ldb_dn *base,
                       enum ldb_scope scope, const char * const *attrs,
-                      const char *exp_fmt, ...);
+                      const char *exp_fmt, ...) PRINTF_ATTRIBUTE(7,8);
 
 /*
   like ldb_search() but takes a parse tree