From c2d59d817021b8faacbb035d8d7dd727bc14344c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 8 Sep 2006 14:23:44 +0000 Subject: r18269: regenerate idl output metze (This used to be commit 2047e2a98530e15bfb193de714c886563621ecb2) --- source3/librpc/gen_ndr/ndr_unixinfo.c | 23 +++++++---------------- 1 file changed, 7 insertions(+), 16 deletions(-) (limited to 'source3/librpc/gen_ndr') diff --git a/source3/librpc/gen_ndr/ndr_unixinfo.c b/source3/librpc/gen_ndr/ndr_unixinfo.c index e0ecdfe95e..1a8a150f14 100644 --- a/source3/librpc/gen_ndr/ndr_unixinfo.c +++ b/source3/librpc/gen_ndr/ndr_unixinfo.c @@ -1,10 +1,7 @@ /* parser auto-generated by pidl */ #include "includes.h" -/* define dummy __attribute__ for systems that don't have it */ -#if !(defined(__GNUC__) || defined(__GNUG__) || defined(__attribute__)) -#define __attribute__(p) /* nothing */ -#endif +#define _PUBLIC_ #include "librpc/gen_ndr/ndr_unixinfo.h" #include "librpc/gen_ndr/ndr_security.h" @@ -84,8 +81,7 @@ NTSTATUS ndr_pull_unixinfo_GetPWUidInfo(struct ndr_pull *ndr, int ndr_flags, str return NT_STATUS_OK; } -__attribute__((visibility("default"))) -void ndr_print_unixinfo_GetPWUidInfo(struct ndr_print *ndr, const char *name, const struct unixinfo_GetPWUidInfo *r) +_PUBLIC_ void ndr_print_unixinfo_GetPWUidInfo(struct ndr_print *ndr, const char *name, const struct unixinfo_GetPWUidInfo *r) { ndr_print_struct(ndr, name, "unixinfo_GetPWUidInfo"); ndr->depth++; @@ -141,8 +137,7 @@ NTSTATUS ndr_pull_unixinfo_SidToUid(struct ndr_pull *ndr, int flags, struct unix return NT_STATUS_OK; } -__attribute__((visibility("default"))) -void ndr_print_unixinfo_SidToUid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_SidToUid *r) +_PUBLIC_ void ndr_print_unixinfo_SidToUid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_SidToUid *r) { ndr_print_struct(ndr, name, "unixinfo_SidToUid"); ndr->depth++; @@ -204,8 +199,7 @@ NTSTATUS ndr_pull_unixinfo_UidToSid(struct ndr_pull *ndr, int flags, struct unix return NT_STATUS_OK; } -__attribute__((visibility("default"))) -void ndr_print_unixinfo_UidToSid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_UidToSid *r) +_PUBLIC_ void ndr_print_unixinfo_UidToSid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_UidToSid *r) { ndr_print_struct(ndr, name, "unixinfo_UidToSid"); ndr->depth++; @@ -267,8 +261,7 @@ NTSTATUS ndr_pull_unixinfo_SidToGid(struct ndr_pull *ndr, int flags, struct unix return NT_STATUS_OK; } -__attribute__((visibility("default"))) -void ndr_print_unixinfo_SidToGid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_SidToGid *r) +_PUBLIC_ void ndr_print_unixinfo_SidToGid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_SidToGid *r) { ndr_print_struct(ndr, name, "unixinfo_SidToGid"); ndr->depth++; @@ -330,8 +323,7 @@ NTSTATUS ndr_pull_unixinfo_GidToSid(struct ndr_pull *ndr, int flags, struct unix return NT_STATUS_OK; } -__attribute__((visibility("default"))) -void ndr_print_unixinfo_GidToSid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_GidToSid *r) +_PUBLIC_ void ndr_print_unixinfo_GidToSid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_GidToSid *r) { ndr_print_struct(ndr, name, "unixinfo_GidToSid"); ndr->depth++; @@ -456,8 +448,7 @@ NTSTATUS ndr_pull_unixinfo_GetPWUid(struct ndr_pull *ndr, int flags, struct unix return NT_STATUS_OK; } -__attribute__((visibility("default"))) -void ndr_print_unixinfo_GetPWUid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_GetPWUid *r) +_PUBLIC_ void ndr_print_unixinfo_GetPWUid(struct ndr_print *ndr, const char *name, int flags, const struct unixinfo_GetPWUid *r) { uint32_t cntr_uids_0; uint32_t cntr_infos_1; -- cgit