summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Sharpe <sharpe@samba.org>2003-06-16 18:37:54 +0000
committerRichard Sharpe <sharpe@samba.org>2003-06-16 18:37:54 +0000
commit5dd2d09a37966a1a0bba942307be22993c3b92ff (patch)
treea8149c8852eeabd6fa85d6ee7e4058d2770937c6
parent563a6c0a1a8bb76c42abffc3016cdf99588cba27 (diff)
downloadsamba-5dd2d09a37966a1a0bba942307be22993c3b92ff.tar.gz
samba-5dd2d09a37966a1a0bba942307be22993c3b92ff.tar.bz2
samba-5dd2d09a37966a1a0bba942307be22993c3b92ff.zip
Squelch one small compiler warning
(This used to be commit d9ac2540dd0d56d97625fa02e55a57a1f5ac4abf)
-rw-r--r--source3/nsswitch/winbindd_user.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/nsswitch/winbindd_user.c b/source3/nsswitch/winbindd_user.c
index dc07bc42e7..5c84c4cb82 100644
--- a/source3/nsswitch/winbindd_user.c
+++ b/source3/nsswitch/winbindd_user.c
@@ -26,13 +26,14 @@
#undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND
+extern userdom_struct current_user_info;
+
/* Fill a pwent structure with information we have obtained */
static BOOL winbindd_fill_pwent(char *dom_name, char *user_name,
DOM_SID *user_sid, DOM_SID *group_sid,
char *full_name, struct winbindd_pw *pw)
{
- extern userdom_struct current_user_info;
fstring output_username;
pstring homedir;
fstring sid_string;