From 1e42cacf6a8643bd633f631c212d71760852abbc Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Thu, 27 Jan 2005 06:33:07 +0000 Subject: r5036: changed HYPER_T to the more standard "hyper" (This used to be commit 1d1a9c11ee681540ef8a1029409bb24fc26f976c) --- source4/librpc/ndr/ndr_basic.c | 34 +++++++++++++++++----------------- 1 file changed, 17 insertions(+), 17 deletions(-) (limited to 'source4/librpc/ndr') diff --git a/source4/librpc/ndr/ndr_basic.c b/source4/librpc/ndr/ndr_basic.c index 7ca930d78d..e38b9d394a 100644 --- a/source4/librpc/ndr/ndr_basic.c +++ b/source4/librpc/ndr/ndr_basic.c @@ -141,7 +141,7 @@ NTSTATUS ndr_pull_dlong(struct ndr_pull *ndr, int64_t *v) /* parse a hyper */ -NTSTATUS ndr_pull_HYPER_T(struct ndr_pull *ndr, uint64_t *v) +NTSTATUS ndr_pull_hyper(struct ndr_pull *ndr, uint64_t *v) { NDR_PULL_ALIGN(ndr, 8); return ndr_pull_udlong(ndr, v); @@ -249,16 +249,16 @@ NTSTATUS ndr_pull_array_uint32(struct ndr_pull *ndr, int ndr_flags, uint32_t *da } /* - pull a const array of HYPER_T + pull a const array of hyper */ -NTSTATUS ndr_pull_array_HYPER_T(struct ndr_pull *ndr, int ndr_flags, uint64_t *data, uint32_t n) +NTSTATUS ndr_pull_array_hyper(struct ndr_pull *ndr, int ndr_flags, uint64_t *data, uint32_t n) { uint32_t i; if (!(ndr_flags & NDR_SCALARS)) { return NT_STATUS_OK; } for (i=0;idepth--; } -void ndr_print_array_HYPER_T(struct ndr_print *ndr, const char *name, +void ndr_print_array_hyper(struct ndr_print *ndr, const char *name, const uint64_t *data, uint32_t count) { int i; @@ -1173,7 +1173,7 @@ void ndr_print_array_HYPER_T(struct ndr_print *ndr, const char *name, char *idx=NULL; asprintf(&idx, "[%d]", i); if (idx) { - ndr_print_HYPER_T(ndr, idx, data[i]); + ndr_print_hyper(ndr, idx, data[i]); free(idx); } } -- cgit