From 5eb347193f7f52bfc672b83da6e45b59db31423c Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 6 Mar 2008 12:44:41 +0100 Subject: Fix a "nested extern declaration" warning (This used to be commit e473e6d50c56f52ef5e4853e4ca3b3548af06f51) --- source3/libsmb/libsmb_context.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'source3/libsmb') 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; -- cgit