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:
93b8e90
)
s3:locking/proto.h: add _LOCKING_PROTO_H_ guard
author
Michael Adam
<obnox@samba.org>
Mon, 30 May 2011 22:10:29 +0000
(
00:10
+0200)
committer
Michael Adam
<obnox@samba.org>
Mon, 30 May 2011 23:44:27 +0000
(
01:44
+0200)
source3/locking/proto.h
patch
|
blob
|
history
diff --git
a/source3/locking/proto.h
b/source3/locking/proto.h
index 2726a1df2519d3ad3762ea4463b808e59f9518d5..b7c8990b1afa1252c2c04ee3c36668db40431c02 100644
(file)
--- a/
source3/locking/proto.h
+++ b/
source3/locking/proto.h
@@
-20,6
+20,9
@@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+#ifndef _LOCKING_PROTO_H_
+#define _LOCKING_PROTO_H_
+
/* The following definitions come from locking/brlock.c */
bool brl_same_context(const struct lock_context *ctx1,
@@
-220,3
+223,5
@@
bool release_posix_lock_posix_flavour(files_struct *fsp,
const struct lock_context *lock_ctx,
const struct lock_struct *plocks,
int num_locks);
+
+#endif /* _LOCKING_PROTO_H_ */