summaryrefslogtreecommitdiff
path: root/source3/libsmb/libsmb_context.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-03-06 12:44:41 +0100
committerVolker Lendecke <vl@samba.org>2008-03-06 15:50:46 +0100
commit5eb347193f7f52bfc672b83da6e45b59db31423c (patch)
tree18bf79a792e2cc2a3018df9d3278317a8dee40e9 /source3/libsmb/libsmb_context.c
parent5b80b9340fb64413f68d625cf5ca57344c0adbd7 (diff)
downloadsamba-5eb347193f7f52bfc672b83da6e45b59db31423c.tar.gz
samba-5eb347193f7f52bfc672b83da6e45b59db31423c.tar.bz2
samba-5eb347193f7f52bfc672b83da6e45b59db31423c.zip
Fix a "nested extern declaration" warning
(This used to be commit e473e6d50c56f52ef5e4853e4ca3b3548af06f51)
Diffstat (limited to 'source3/libsmb/libsmb_context.c')
-rw-r--r--source3/libsmb/libsmb_context.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/libsmb/libsmb_context.c b/source3/libsmb/libsmb_context.c
index c04f751696..212b42fa88 100644
--- a/source3/libsmb/libsmb_context.c
+++ b/source3/libsmb/libsmb_context.c
@@ -27,6 +27,8 @@
#include "libsmb_internal.h"
+extern bool in_client;
+
/*
* Is the logging working / configfile read ?
*/
@@ -410,7 +412,6 @@ smbc_init_context(SMBCCTX *context)
int pid;
char *user = NULL;
char *home = NULL;
- extern bool in_client;
if (!context) {
errno = EBADF;