]> git.sur5r.net Git - openldap/blobdiff - servers/slapd/shell-backends/shellutil.h
Do not return pointers into BerElement we do not own
[openldap] / servers / slapd / shell-backends / shellutil.h
index 0832432ff0ff1eb336fbed59115cb89ba5e31a23..28713094bb50af3c9cdf9bf9b152d8665852df1f 100644 (file)
@@ -1,3 +1,4 @@
+/* $OpenLDAP$ */
 /*
  shellutil.h
 
@@ -75,7 +76,7 @@ struct ldentry {
 
 
 #ifdef LDAP_DEBUG
-void   debug_printf(const char *, ...);
+void   debug_printf(const char *, ...) LDAP_GCCATTR((format(printf, 1, 2)));
 #else /* LDAP_DEBUG */
 #define        debug_printf    (void) /* Ignore "arguments" */
 #endif /* LDAP_DEBUG */