From 98e143cd31fe10a039a4110f4d3755dee62ee826 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 17 Feb 2010 20:00:36 +0100 Subject: librpc/ndr: make ndr_push_relative_ptr2() static metze --- librpc/ndr/libndr.h | 1 - librpc/ndr/ndr.c | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) (limited to 'librpc/ndr') diff --git a/librpc/ndr/libndr.h b/librpc/ndr/libndr.h index 95ccb27912f..57797cdda31 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 fb1e5671fe0..90ecdb15840 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; -- cgit v1.2.1