summaryrefslogtreecommitdiff
path: root/source3/smbd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-10-10 16:26:34 +0200
committerVolker Lendecke <vl@samba.org>2008-10-11 08:56:01 +0200
commit80faa78a912cda4b3298b832e46c22c045ec85f9 (patch)
treeaefc9c7f6cadccf97467ba5204f8cff0aedaec77 /source3/smbd
parent47f7ef8f39ba482a7d6578ab82c9e0670381c4f8 (diff)
downloadsamba-80faa78a912cda4b3298b832e46c22c045ec85f9.tar.gz
samba-80faa78a912cda4b3298b832e46c22c045ec85f9.tar.bz2
samba-80faa78a912cda4b3298b832e46c22c045ec85f9.zip
Fix a "nexted extern declaration" warning
Diffstat (limited to 'source3/smbd')
-rw-r--r--source3/smbd/nttrans.c2
1 files changed, 1 insertions, 1 deletions
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;