git.samba.org
/
kai
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b80b93
)
Fix a "nested extern declaration" warning
author
Volker Lendecke
<vl@samba.org>
Thu, 6 Mar 2008 11:44:41 +0000
(12:44 +0100)
committer
Volker 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
patch
|
blob
|
history
diff --git
a/source3/libsmb/libsmb_context.c
b/source3/libsmb/libsmb_context.c
index c04f751696b70a89a757ba16e4335e8b41de0c79..212b42fa884c6916f80b95bbae1ebf9e84abe551 100644
(file)
--- 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;