Squelch one small compiler warning
authorRichard Sharpe <sharpe@samba.org>
Mon, 16 Jun 2003 18:37:54 +0000 (18:37 +0000)
committerRichard Sharpe <sharpe@samba.org>
Mon, 16 Jun 2003 18:37:54 +0000 (18:37 +0000)
(This used to be commit d9ac2540dd0d56d97625fa02e55a57a1f5ac4abf)

source3/nsswitch/winbindd_user.c

index dc07bc42e74a0cf8370cbb2000eaa3720dbcf2bc..5c84c4cb82dd84ad97bf8ebd41785e8854a5eff5 100644 (file)
 #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;