aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Lougher <phillip@squashfs.org.uk>2014-05-06 00:25:09 +0100
committerPhillip Lougher <phillip@squashfs.org.uk>2014-05-06 00:25:09 +0100
commit1ffc3166b4fc5ff604f9654d5ea94c958601c53a (patch)
tree181609a95f6087cca591191cf02a740529737e0c
parent6192947ca53d6e336275ce0300d7def9c6f3921a (diff)
downloadsquashfs-tools-1ffc3166b4fc5ff604f9654d5ea94c958601c53a.tar.gz
restore: protect against multiple inclusion
Signed-off-by: Phillip Lougher <phillip@squashfs.org.uk>
-rw-r--r--squashfs-tools/restore.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/squashfs-tools/restore.h b/squashfs-tools/restore.h
index 554cfbc..35129f0 100644
--- a/squashfs-tools/restore.h
+++ b/squashfs-tools/restore.h
@@ -1,3 +1,5 @@
+#ifndef RESTORE_H
+#define RESTORE_H
/*
* Create a squashfs filesystem. This is a highly compressed read only
* filesystem.
@@ -23,3 +25,4 @@
*/
extern pthread_t *init_restore_thread();
+#endif