]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
Move the "rid_name" typedef to the only place where it might be used
authorVolker Lendecke <vl@samba.org>
Tue, 6 Jan 2009 10:22:32 +0000 (11:22 +0100)
committerVolker Lendecke <vl@samba.org>
Tue, 6 Jan 2009 10:24:59 +0000 (11:24 +0100)
source3/include/ntdomain.h
source3/rpc_server/srv_util.c

index cc99ad74c288d20d8ba844221664a56b1293f2f2..bffa158feaa88dd46b7a3c5d507b0d93ca90a774 100644 (file)
@@ -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
  */
index d4804b98ad4c897cb51f5275ad877199f7d0a21a..b276e75faa8f3317acfb178bbea923f5ec3e3717 100644 (file)
 #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.