From ef54ad52e07122f3967761603f3e09cdd372990c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 6 Jan 2009 11:22:32 +0100 Subject: [PATCH] Move the "rid_name" typedef to the only place where it might be used --- source3/include/ntdomain.h | 5 ----- source3/rpc_server/srv_util.c | 6 ++++++ 2 files changed, 6 insertions(+), 5 deletions(-) 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. -- 2.11.4.GIT