git://git.openafs.org
/
openafs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
(parent:
f901536
)
windows-ntstatus-warnings-20071021
author
Jeffrey Altman
<jaltman@secure-endpoints.com>
Mon, 22 Oct 2007 04:32:09 +0000 (
04:32
+0000)
committer
Jeffrey Altman
<jaltman@secure-endpoints.com>
Mon, 22 Oct 2007 04:32:09 +0000 (
04:32
+0000)
suppress warnings caused by multiple definitions of NTSTATUS values
src/WINNT/afsd/smb.c
patch
|
blob
|
history
diff --git
a/src/WINNT/afsd/smb.c
b/src/WINNT/afsd/smb.c
index
61ae01d
..
3be3393
100644
(file)
--- a/
src/WINNT/afsd/smb.c
+++ b/
src/WINNT/afsd/smb.c
@@
-11,7
+11,10
@@
#include <afs/stds.h>
#include <windows.h>
+#pragma warning(push)
+#pragma warning(disable: 4005)
#include <ntstatus.h>
+#pragma warning(pop)
#include <stddef.h>
#include <stdlib.h>
#include <malloc.h>