diff options
author | Stefan Metzmacher <metze@samba.org> | 2010-02-17 20:00:36 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2010-02-18 13:44:01 +0100 |
commit | 98e143cd31fe10a039a4110f4d3755dee62ee826 (patch) | |
tree | 94a5332998d0275bc5f462ce6713488fa1ac0820 /librpc/ndr | |
parent | e03591111a1b9c2f05c29a7afac4641f23f455f4 (diff) | |
download | samba-98e143cd31fe10a039a4110f4d3755dee62ee826.tar.gz samba-98e143cd31fe10a039a4110f4d3755dee62ee826.tar.bz2 samba-98e143cd31fe10a039a4110f4d3755dee62ee826.zip |
librpc/ndr: make ndr_push_relative_ptr2() static
metze
Diffstat (limited to 'librpc/ndr')
-rw-r--r-- | librpc/ndr/libndr.h | 1 | ||||
-rw-r--r-- | librpc/ndr/ndr.c | 2 |
2 files changed, 1 insertions, 2 deletions
diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h index 95ccb27912..57797cdda3 100644 --- a/librpc/ndr/libndr.h +++ b/librpc/ndr/libndr.h @@ -384,7 +384,6 @@ enum ndr_err_code ndr_push_setup_relative_base_offset1(struct ndr_push *ndr, con 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_short_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); enum ndr_err_code ndr_push_short_relative_ptr2(struct ndr_push *ndr, const void *p); diff --git a/librpc/ndr/ndr.c b/librpc/ndr/ndr.c index fb1e5671fe..90ecdb1584 100644 --- a/librpc/ndr/ndr.c +++ b/librpc/ndr/ndr.c @@ -1091,7 +1091,7 @@ _PUBLIC_ enum ndr_err_code ndr_push_short_relative_ptr1(struct ndr_push *ndr, co 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; |