summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2011-05-31 00:10:29 +0200
committerMichael Adam <obnox@samba.org>2011-05-31 01:44:27 +0200
commitff82f77796f0d867089962f7970efbe53c51289d (patch)
treef882d131291deb79d19e64567e7fcf09f338a3c8
parent93b8e90b5beb5704807834bb710f3b4f303ba5a8 (diff)
downloadsamba-ff82f77796f0d867089962f7970efbe53c51289d.tar.gz
samba-ff82f77796f0d867089962f7970efbe53c51289d.tar.bz2
samba-ff82f77796f0d867089962f7970efbe53c51289d.zip
s3:locking/proto.h: add _LOCKING_PROTO_H_ guard
-rw-r--r--source3/locking/proto.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/source3/locking/proto.h b/source3/locking/proto.h
index 2726a1df25..b7c8990b1a 100644
--- 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_ */