Fix a "nested extern declaration" warning
authorVolker Lendecke <vl@samba.org>
Thu, 6 Mar 2008 11:44:41 +0000 (12:44 +0100)
committerVolker Lendecke <vl@samba.org>
Thu, 6 Mar 2008 14:50:46 +0000 (15:50 +0100)
(This used to be commit e473e6d50c56f52ef5e4853e4ca3b3548af06f51)

source3/libsmb/libsmb_context.c

index c04f751696b70a89a757ba16e4335e8b41de0c79..212b42fa884c6916f80b95bbae1ebf9e84abe551 100644 (file)
@@ -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;