mirror of
https://github.com/samba-team/samba.git
synced 2025-08-30 17:49:30 +03:00
Fix a "nested extern declaration" warning
(This used to be commit e473e6d50c
)
This commit is contained in:
@ -27,6 +27,8 @@
|
|||||||
#include "libsmb_internal.h"
|
#include "libsmb_internal.h"
|
||||||
|
|
||||||
|
|
||||||
|
extern bool in_client;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Is the logging working / configfile read ?
|
* Is the logging working / configfile read ?
|
||||||
*/
|
*/
|
||||||
@ -410,7 +412,6 @@ smbc_init_context(SMBCCTX *context)
|
|||||||
int pid;
|
int pid;
|
||||||
char *user = NULL;
|
char *user = NULL;
|
||||||
char *home = NULL;
|
char *home = NULL;
|
||||||
extern bool in_client;
|
|
||||||
|
|
||||||
if (!context) {
|
if (!context) {
|
||||||
errno = EBADF;
|
errno = EBADF;
|
||||||
|
Reference in New Issue
Block a user