From 80faa78a912cda4b3298b832e46c22c045ec85f9 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 10 Oct 2008 16:26:34 +0200 Subject: Fix a "nexted extern declaration" warning --- source3/smbd/nttrans.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/smbd/nttrans.c b/source3/smbd/nttrans.c index 061855876c..43492bf8b6 100644 --- a/source3/smbd/nttrans.c +++ b/source3/smbd/nttrans.c @@ -22,6 +22,7 @@ extern int max_send; extern enum protocol_types Protocol; +extern const struct generic_mapping file_generic_mapping; static char *nttrans_realloc(char **ptr, size_t size) { @@ -713,7 +714,6 @@ static void do_nt_transact_create_pipe(connection_struct *conn, static NTSTATUS set_sd(files_struct *fsp, uint8 *data, uint32 sd_len, uint32 security_info_sent) { - extern const struct generic_mapping file_generic_mapping; SEC_DESC *psd = NULL; NTSTATUS status; -- cgit