s3:locking/proto.h: add _LOCKING_PROTO_H_ guard (cherry picked from commit ff82f77796...
authorMichael Adam <obnox@samba.org>
Mon, 30 May 2011 22:10:29 +0000 (00:10 +0200)
committerKarolin Seeger <kseeger@samba.org>
Tue, 14 Jun 2011 18:13:47 +0000 (20:13 +0200)
source3/locking/proto.h

index 2726a1df2519d3ad3762ea4463b808e59f9518d5..b7c8990b1afa1252c2c04ee3c36668db40431c02 100644 (file)
@@ -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_ */