summaryrefslogtreecommitdiffstats
path: root/src/rfs.h
diff options
context:
space:
mode:
authorChristophe Grenier <[email protected]>2020-10-04 10:30:20 +0200
committerChristophe Grenier <[email protected]>2020-10-04 10:30:20 +0200
commit25c8dba564b21e6a6995b6e6c8047b2b3fe5c34c (patch)
tree248448fdd34689c26d9a2d2896ecac60e8fd4a68 /src/rfs.h
parentfb96d07f8c91e1ca8ee222eae327d42893fd1ace (diff)
Add an header guard to prevent multiple inclusion
Diffstat (limited to 'src/rfs.h')
-rw-r--r--src/rfs.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rfs.h b/src/rfs.h
index 06427065..6d47dfdb 100644
--- a/src/rfs.h
+++ b/src/rfs.h
@@ -20,6 +20,8 @@
Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
+#ifndef _RFS_H
+#define _RFS_H
#ifdef __cplusplus
extern "C" {
#endif
@@ -123,3 +125,4 @@ int recover_rfs(const disk_t *disk_car, const struct reiserfs_super_block *sb, p
#ifdef __cplusplus
} /* closing brace for extern "C" */
#endif
+#endif