summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBrian Lu <brian.lu@sun.com>2009-12-14 11:08:07 +0100
committerStefan Metzmacher <metze@samba.org>2009-12-14 11:08:45 +0100
commita3b7e84a65e3ddc94edc36fd1b4641849b9ee0be (patch)
treeec95994480ddc559d3f06aa72d10e68ce79492a0
parent6bc29eced5ced62b6ab636d6e6072aee9c2e6a3f (diff)
downloadsamba-a3b7e84a65e3ddc94edc36fd1b4641849b9ee0be.tar.gz
samba-a3b7e84a65e3ddc94edc36fd1b4641849b9ee0be.tar.bz2
samba-a3b7e84a65e3ddc94edc36fd1b4641849b9ee0be.zip
librpc/ndr: avoid comparison_fn_t to fix the openchange build on solaris
Signed-off-by: Stefan Metzmacher <metze@samba.org>
-rw-r--r--librpc/ndr/libndr.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h
index 1206c1817d..09e5334aa4 100644
--- a/librpc/ndr/libndr.h
+++ b/librpc/ndr/libndr.h
@@ -436,7 +436,7 @@ enum ndr_err_code ndr_token_store(TALLOC_CTX *mem_ctx,
struct ndr_token_list **list,
const void *key,
uint32_t value);
-enum ndr_err_code ndr_token_retrieve_cmp_fn(struct ndr_token_list **list, const void *key, uint32_t *v, comparison_fn_t _cmp_fn, bool _remove_tok);
+enum ndr_err_code ndr_token_retrieve_cmp_fn(struct ndr_token_list **list, const void *key, uint32_t *v, int(*_cmp_fn)(const void*,const void*), bool _remove_tok);
enum ndr_err_code ndr_token_retrieve(struct ndr_token_list **list, const void *key, uint32_t *v);
uint32_t ndr_token_peek(struct ndr_token_list **list, const void *key);
enum ndr_err_code ndr_pull_array_size(struct ndr_pull *ndr, const void *p);