From 519458a2fa01ae7e8eadebbe1d7895740861c468 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Fri, 17 Oct 2008 12:26:46 +0200 Subject: Use shared util.c. --- source3/librpc/ndr/util.c | 14 -------------- 1 file changed, 14 deletions(-) (limited to 'source3/librpc') diff --git a/source3/librpc/ndr/util.c b/source3/librpc/ndr/util.c index 427292ac70..457615ce22 100644 --- a/source3/librpc/ndr/util.c +++ b/source3/librpc/ndr/util.c @@ -155,20 +155,6 @@ void ndr_print_server_id(struct ndr_print *ndr, const char *name, const struct s ndr->depth--; } -/** - * see if a range of memory is all zero. A NULL pointer is considered - * to be all zero - */ -bool all_zero(const uint8_t *ptr, size_t size) - { - int i; - if (!ptr) return True; - for (i=0;iprint(ndr, "%-25s: %s", name, b?"true":"false"); -- cgit