projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9fe6206
)
cifs: guard cifsglob.h against multiple inclusion
author
Suresh Jayaraman
<
[email protected]
>
Tue, 22 Jun 2010 15:22:50 +0000
(20:52 +0530)
committer
Steve French
<
[email protected]
>
Mon, 2 Aug 2010 12:40:32 +0000
(12:40 +0000)
Add conditional compile macros to guard the header file against multiple
inclusion.
Signed-off-by: Suresh Jayaraman <
[email protected]
>
Acked-by: Jeff Layton <
[email protected]
>
Signed-off-by: Steve French <
[email protected]
>
fs/cifs/cifsglob.h
patch
|
blob
|
history
diff --git
a/fs/cifs/cifsglob.h
b/fs/cifs/cifsglob.h
index a88479ceaad59602919d3d6d1a1c7a01855d69ac..6b2c39d809fb611d925c7818bf9e682330248781 100644
(file)
--- a/
fs/cifs/cifsglob.h
+++ b/
fs/cifs/cifsglob.h
@@
-16,6
+16,9
@@
* the GNU Lesser General Public License for more details.
*
*/
+#ifndef _CIFS_GLOB_H
+#define _CIFS_GLOB_H
+
#include <linux/in.h>
#include <linux/in6.h>
#include <linux/slab.h>
@@
-733,3
+736,5
@@
GLOBAL_EXTERN unsigned int cifs_min_small; /* min size of small buf pool */
GLOBAL_EXTERN unsigned int cifs_max_pending; /* MAX requests at once to server*/
extern const struct slow_work_ops cifs_oplock_break_ops;
+
+#endif /* _CIFS_GLOB_H */