summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-01-06 11:22:32 +0100
committerVolker Lendecke <vl@samba.org>2009-01-06 11:24:59 +0100
commitef54ad52e07122f3967761603f3e09cdd372990c (patch)
treea3fe6ccf40a234535406a20739769e30caea78d6
parent9f44a17c3bf36067d04cec036c3e529798932cd7 (diff)
downloadsamba-ef54ad52e07122f3967761603f3e09cdd372990c.tar.gz
samba-ef54ad52e07122f3967761603f3e09cdd372990c.tar.bz2
samba-ef54ad52e07122f3967761603f3e09cdd372990c.zip
Move the "rid_name" typedef to the only place where it might be used
-rw-r--r--source3/include/ntdomain.h5
-rw-r--r--source3/rpc_server/srv_util.c6
2 files changed, 6 insertions, 5 deletions
diff --git a/source3/include/ntdomain.h b/source3/include/ntdomain.h
index cc99ad74c2..bffa158fea 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 d4804b98ad..b276e75faa 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.