summaryrefslogtreecommitdiffstats
path: root/sbin/fsck_ffs
diff options
context:
space:
mode:
authorpjd <pjd@FreeBSD.org>2010-04-24 07:54:49 +0000
committerpjd <pjd@FreeBSD.org>2010-04-24 07:54:49 +0000
commitdf98397a5d49580bf91cc60e73a2627990a1768b (patch)
treecbeccc024ebc0a32212a42b30e584b696c94fc39 /sbin/fsck_ffs
parent57ec1f2624242cf6e8ab9775b7cd85e9f62adcf8 (diff)
downloadFreeBSD-src-df98397a5d49580bf91cc60e73a2627990a1768b.zip
FreeBSD-src-df98397a5d49580bf91cc60e73a2627990a1768b.tar.gz
Protect fsck.h from being included twice.
Diffstat (limited to 'sbin/fsck_ffs')
-rw-r--r--sbin/fsck_ffs/fsck.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/sbin/fsck_ffs/fsck.h b/sbin/fsck_ffs/fsck.h
index 6dad6b7..08f9ef5 100644
--- a/sbin/fsck_ffs/fsck.h
+++ b/sbin/fsck_ffs/fsck.h
@@ -60,6 +60,9 @@
* $FreeBSD$
*/
+#ifndef _FSCK_H_
+#define _FSCK_H_
+
#include <unistd.h>
#include <stdlib.h>
#include <stdio.h>
@@ -389,3 +392,5 @@ void setinodebuf(ino_t);
int setup(char *dev);
void gjournal_check(const char *filesys);
int suj_check(const char *filesys);
+
+#endif /* !_FSCK_H_ */
OpenPOWER on IntegriCloud