diff options
author | Stefan Metzmacher <metze@samba.org> | 2006-12-22 17:26:09 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 14:29:39 -0500 |
commit | c65b5a6f87dd1f859a8ccbdc709565ac7841006b (patch) | |
tree | 14e8fff868a86a97fa92697003ad13d82d1de99e | |
parent | 2506a1efcefdf592424bb68e6383f8042d1ba6ae (diff) | |
download | samba-c65b5a6f87dd1f859a8ccbdc709565ac7841006b.tar.gz samba-c65b5a6f87dd1f859a8ccbdc709565ac7841006b.tar.bz2 samba-c65b5a6f87dd1f859a8ccbdc709565ac7841006b.zip |
r20319: fix compiler warnings
metze
(This used to be commit 3769270a6a22dd29845e889b0601fcdf7c46acb5)
-rw-r--r-- | source4/lib/ldb/include/ldb.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source4/lib/ldb/include/ldb.h b/source4/lib/ldb/include/ldb.h index 3f9ba67170..0438b88bbb 100644 --- a/source4/lib/ldb/include/ldb.h +++ b/source4/lib/ldb/include/ldb.h @@ -1281,7 +1281,7 @@ int ldb_base64_decode(char *s); /* The following definitions come from lib/ldb/common/ldb_dn.c */ struct ldb_dn *ldb_dn_new(void *mem_ctx, struct ldb_context *ldb, const char *dn); -struct ldb_dn *ldb_dn_new_fmt(void *mem_ctx, struct ldb_context *ldb, const char *new_fmt, ...); +struct ldb_dn *ldb_dn_new_fmt(void *mem_ctx, struct ldb_context *ldb, const char *new_fmt, ...) PRINTF_ATTRIBUTE(3,4); bool ldb_dn_validate(struct ldb_dn *dn); char *ldb_dn_escape_value(void *mem_ctx, struct ldb_val value); @@ -1294,9 +1294,9 @@ int ldb_dn_compare_base(struct ldb_dn *base, struct ldb_dn *dn); int ldb_dn_compare(struct ldb_dn *edn0, struct ldb_dn *edn1); bool ldb_dn_add_base(struct ldb_dn *dn, struct ldb_dn *base); -bool ldb_dn_add_base_fmt(struct ldb_dn *dn, const char *base_fmt, ...); +bool ldb_dn_add_base_fmt(struct ldb_dn *dn, const char *base_fmt, ...) PRINTF_ATTRIBUTE(2,3); bool ldb_dn_add_child(struct ldb_dn *dn, struct ldb_dn *child); -bool ldb_dn_add_child_fmt(struct ldb_dn *dn, const char *child_fmt, ...); +bool ldb_dn_add_child_fmt(struct ldb_dn *dn, const char *child_fmt, ...) PRINTF_ATTRIBUTE(2,3); bool ldb_dn_remove_base_components(struct ldb_dn *dn, unsigned int num); bool ldb_dn_remove_child_components(struct ldb_dn *dn, unsigned int num); |