Fix a "nexted extern declaration" warning
authorVolker Lendecke <vl@samba.org>
Fri, 10 Oct 2008 14:26:34 +0000 (16:26 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 11 Oct 2008 06:56:01 +0000 (08:56 +0200)
source3/smbd/nttrans.c

index 061855876ce3fa5b3b79ca16f0935b6d0d16d024..43492bf8b62043e84c72470b199db116082b1422 100644 (file)
@@ -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;