summaryrefslogtreecommitdiffstats
path: root/source/groupdb
diff options
context:
space:
mode:
authorHerb Lewis <herb@samba.org>2005-04-06 16:28:04 +0000
committerHerb Lewis <herb@samba.org>2005-04-06 16:28:04 +0000
commit261e6660e43bfdcc5ff6e2ec9297053af1eebe2c (patch)
tree76eb8431f1185778c29fb3adbc8d1b0e724af38c /source/groupdb
parent830cd57aca089f6b446ca1b86cf2b47742926692 (diff)
downloadsamba-261e6660e43bfdcc5ff6e2ec9297053af1eebe2c.tar.gz
samba-261e6660e43bfdcc5ff6e2ec9297053af1eebe2c.tar.xz
samba-261e6660e43bfdcc5ff6e2ec9297053af1eebe2c.zip
r6225: get rid of warnings from my compiler about nested externs
Diffstat (limited to 'source/groupdb')
-rw-r--r--source/groupdb/mapping.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/groupdb/mapping.c b/source/groupdb/mapping.c
index 244cbd8fe75..d02c5120541 100644
--- a/source/groupdb/mapping.c
+++ b/source/groupdb/mapping.c
@@ -21,6 +21,8 @@
#include "includes.h"
+extern DOM_SID global_sid_Builtin;
+
static TDB_CONTEXT *tdb; /* used for driver files */
#define DATABASE_VERSION_V1 1 /* native byte format. */
@@ -1253,8 +1255,6 @@ NTSTATUS pdb_default_enum_aliases(struct pdb_methods *methods,
uint32 *num_aliases,
struct acct_info **info)
{
- extern DOM_SID global_sid_Builtin;
-
GROUP_MAP *map;
int i, num_maps;
enum SID_NAME_USE type = SID_NAME_UNKNOWN;