diff options
author | Herb Lewis <herb@samba.org> | 2005-04-06 16:28:04 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:56:30 -0500 |
commit | efea76ac71412f8622cd233912309e91b9ea52da (patch) | |
tree | 76eb8431f1185778c29fb3adbc8d1b0e724af38c /source/auth/auth_sam.c | |
parent | c8f808b0763f7abcc0d879057f4f17002e65b4e1 (diff) | |
download | samba-efea76ac71412f8622cd233912309e91b9ea52da.tar.gz samba-efea76ac71412f8622cd233912309e91b9ea52da.tar.xz samba-efea76ac71412f8622cd233912309e91b9ea52da.zip |
r6225: get rid of warnings from my compiler about nested externs
Diffstat (limited to 'source/auth/auth_sam.c')
-rw-r--r-- | source/auth/auth_sam.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/source/auth/auth_sam.c b/source/auth/auth_sam.c index 9da59f220aa..023e441e241 100644 --- a/source/auth/auth_sam.c +++ b/source/auth/auth_sam.c @@ -23,6 +23,8 @@ #include "includes.h" +extern struct timeval smb_last_time; + #undef DBGC_CLASS #define DBGC_CLASS DBGC_AUTH @@ -74,7 +76,6 @@ static NTSTATUS sam_password_ok(const struct auth_context *auth_context, static BOOL logon_hours_ok(SAM_ACCOUNT *sampass) { /* In logon hours first bit is Sunday from 12AM to 1AM */ - extern struct timeval smb_last_time; const uint8 *hours; struct tm *utctime; uint8 bitmask, bitpos; |