summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2010-02-17 20:00:36 +0100
committerKarolin Seeger <kseeger@samba.org>2010-02-19 14:32:30 +0100
commitbec6240702952308296b833b862ae5e93b862259 (patch)
treebba57cec8dc524b6fc38e915eb0690a104554df7
parentf2e028c92b8e693cdae157e58f71b606621273d9 (diff)
downloadsamba-bec6240702952308296b833b862ae5e93b862259.tar.gz
librpc/ndr: make ndr_push_relative_ptr2() static
metze (cherry picked from commit 66fe881cfc0a0919a1d01df896ff8458436e780e)
-rw-r--r--librpc/ndr/libndr.h1
-rw-r--r--librpc/ndr/ndr.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h
index febac24c47b..a209ddf18d3 100644
--- a/librpc/ndr/libndr.h
+++ b/librpc/ndr/libndr.h
@@ -382,7 +382,6 @@ void ndr_push_restore_relative_base_offset(struct ndr_push *ndr, uint32_t offset
enum ndr_err_code ndr_push_setup_relative_base_offset1(struct ndr_push *ndr, const void *p, uint32_t offset);
enum ndr_err_code ndr_push_setup_relative_base_offset2(struct ndr_push *ndr, const void *p);
enum ndr_err_code ndr_push_relative_ptr1(struct ndr_push *ndr, const void *p);
-enum ndr_err_code ndr_push_relative_ptr2(struct ndr_push *ndr, const void *p);
enum ndr_err_code ndr_push_relative_ptr2_start(struct ndr_push *ndr, const void *p);
enum ndr_err_code ndr_push_relative_ptr2_end(struct ndr_push *ndr, const void *p);
uint32_t ndr_pull_get_relative_base_offset(struct ndr_pull *ndr);
diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c
index ad7794230c7..400045f5d04 100644
--- a/librpc/ndr/ndr.c
+++ b/librpc/ndr/ndr.c
@@ -1062,7 +1062,7 @@ _PUBLIC_ enum ndr_err_code ndr_push_relative_ptr1(struct ndr_push *ndr, const vo
push a relative object - stage2
this is called during buffers processing
*/
-_PUBLIC_ enum ndr_err_code ndr_push_relative_ptr2(struct ndr_push *ndr, const void *p)
+static enum ndr_err_code ndr_push_relative_ptr2(struct ndr_push *ndr, const void *p)
{
uint32_t save_offset;
uint32_t ptr_offset = 0xFFFFFFFF;