summaryrefslogtreecommitdiffstats
path: root/source/smbd/server.c
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/smbd/server.c
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/smbd/server.c')
-rw-r--r--source/smbd/server.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/smbd/server.c b/source/smbd/server.c
index 7f7d55c7e3a..9d910cd14ad 100644
--- a/source/smbd/server.c
+++ b/source/smbd/server.c
@@ -30,6 +30,8 @@ int last_message = -1;
/* a useful macro to debug the last message processed */
#define LAST_MESSAGE() smb_fn_name(last_message)
+extern char *last_inbuf;
+extern struct auth_context *negprot_global_auth_context;
extern pstring user_socket_options;
extern SIG_ATOMIC_T got_sig_term;
extern SIG_ATOMIC_T reload_after_sighup;
@@ -598,8 +600,6 @@ static BOOL dump_core(void)
void exit_server(const char *reason)
{
static int firsttime=1;
- extern char *last_inbuf;
- extern struct auth_context *negprot_global_auth_context;
if (!firsttime)
exit(0);