From: Volker Lendecke Date: Tue, 6 Jan 2009 10:22:32 +0000 (+0100) Subject: Move the "rid_name" typedef to the only place where it might be used X-Git-Tag: samba-4.0.0alpha6~264 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ef54ad52e07122f3967761603f3e09cdd372990c;p=thirdparty%2Fsamba.git Move the "rid_name" typedef to the only place where it might be used --- diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h index cc99ad74c28..bffa158feaa 100644 --- a/source3/include/ntdomain.h +++ b/source3/include/ntdomain.h @@ -287,11 +287,6 @@ struct api_struct { bool (*fn) (pipes_struct *); }; -typedef struct { - uint32 rid; - const char *name; -} rid_name; - /* * higher order functions for use with msrpc client code */ diff --git a/source3/rpc_server/srv_util.c b/source3/rpc_server/srv_util.c index d4804b98ad4..b276e75faa8 100644 --- a/source3/rpc_server/srv_util.c +++ b/source3/rpc_server/srv_util.c @@ -42,6 +42,12 @@ #define DBGC_CLASS DBGC_RPC_SRV #if 0 /* these aren't used currently but are here if you need them */ + +typedef struct { + uint32 rid; + const char *name; +} rid_name; + /* * A list of the rids of well known BUILTIN and Domain users * and groups.