From 8b55ae178586d25854a929ace05f203d547242ad Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 7 Feb 2011 23:21:41 +0100 Subject: ndr: move null_ndr_syntax_id to the common libndr location. Guenther --- source3/include/proto.h | 1 - source3/librpc/ndr/util.c | 3 --- 2 files changed, 4 deletions(-) (limited to 'source3') diff --git a/source3/include/proto.h b/source3/include/proto.h index ddb5c5e68b..1e90479fcc 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1586,7 +1586,6 @@ enum ndr_err_code ndr_pull_server_id(struct ndr_pull *ndr, int ndr_flags, struct void ndr_print_server_id(struct ndr_print *ndr, const char *name, const struct server_id *r); _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; /* The following definitions come from libsmb/cliconnect.c */ diff --git a/source3/librpc/ndr/util.c b/source3/librpc/ndr/util.c index ada98108e5..13fe6e175a 100644 --- a/source3/librpc/ndr/util.c +++ b/source3/librpc/ndr/util.c @@ -141,6 +141,3 @@ _PUBLIC_ void ndr_print_sockaddr_storage(struct ndr_print *ndr, const char *name char addr[INET6_ADDRSTRLEN]; ndr->print(ndr, "%-25s: %s", name, print_sockaddr(addr, sizeof(addr), ss)); } - -const struct ndr_syntax_id null_ndr_syntax_id = -{ { 0, 0, 0, { 0, 0 }, { 0, 0, 0, 0, 0, 0 } }, 0 }; -- cgit