From e473e6d50c56f52ef5e4853e4ca3b3548af06f51 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 6 Mar 2008 12:44:41 +0100 Subject: [PATCH] Fix a "nested extern declaration" warning --- source/libsmb/libsmb_context.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/libsmb/libsmb_context.c b/source/libsmb/libsmb_context.c index c04f751696b..212b42fa884 100644 --- a/source/libsmb/libsmb_context.c +++ b/source/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; -- 2.11.4.GIT