From 7eac3100ea77eca64152444336180418938d5843 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 25 Jan 2011 00:52:10 +0100 Subject: libndr: move ndr_print_bool to ndr_basic.c Guenther --- source3/include/proto.h | 1 - source3/librpc/ndr/util.c | 5 ----- 2 files changed, 6 deletions(-) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index de6e7acc9e..a3597cc2c8 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1587,7 +1587,6 @@ void ndr_print_server_id(struct ndr_print *ndr, const char *name, const struct s enum ndr_err_code ndr_push_file_id(struct ndr_push *ndr, int ndr_flags, const struct file_id *r); enum ndr_err_code ndr_pull_file_id(struct ndr_pull *ndr, int ndr_flags, struct file_id *r); void ndr_print_file_id(struct ndr_print *ndr, const char *name, const struct file_id *r); -_PUBLIC_ void ndr_print_bool(struct ndr_print *ndr, const char *name, const bool b); _PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name, const struct sockaddr_storage *ss); const char *ndr_errstr(enum ndr_err_code err); extern const struct ndr_syntax_id null_ndr_syntax_id; diff --git a/source3/librpc/ndr/util.c b/source3/librpc/ndr/util.c index d6a41a0ef1..33b1bb2076 100644 --- a/source3/librpc/ndr/util.c +++ b/source3/librpc/ndr/util.c @@ -200,11 +200,6 @@ void ndr_print_file_id(struct ndr_print *ndr, const char *name, const struct fil ndr->depth--; } -_PUBLIC_ void ndr_print_bool(struct ndr_print *ndr, const char *name, const bool b) -{ - ndr->print(ndr, "%-25s: %s", name, b?"true":"false"); -} - _PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name, const struct sockaddr_storage *ss) { char addr[INET6_ADDRSTRLEN]; -- cgit