git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
47f7ef8
)
Fix a "nexted extern declaration" warning
author
Volker Lendecke
<vl@samba.org>
Fri, 10 Oct 2008 14:26:34 +0000
(16:26 +0200)
committer
Volker Lendecke
<vl@samba.org>
Sat, 11 Oct 2008 06:56:01 +0000
(08:56 +0200)
source3/smbd/nttrans.c
patch
|
blob
|
history
diff --git
a/source3/smbd/nttrans.c
b/source3/smbd/nttrans.c
index 061855876ce3fa5b3b79ca16f0935b6d0d16d024..43492bf8b62043e84c72470b199db116082b1422 100644
(file)
--- 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;