summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorjmallett <jmallett@FreeBSD.org>2002-08-22 23:35:35 +0000
committerjmallett <jmallett@FreeBSD.org>2002-08-22 23:35:35 +0000
commit47cda62462fcc3dca6ad6c7d47ca3613d89ee122 (patch)
tree7b8400a93c023610c1c89b0c23187fb5afc66c90 /lib
parent463419831e6ea6e94c187b5adcce377713794e17 (diff)
downloadFreeBSD-src-47cda62462fcc3dca6ad6c7d47ca3613d89ee122.zip
FreeBSD-src-47cda62462fcc3dca6ad6c7d47ca3613d89ee122.tar.gz
Wrap the header to prevent multiple inclusion, and mark the DECLS section.
Reminded by: Rachel Hestilow <hestilow@ximian.com>
Diffstat (limited to 'lib')
-rw-r--r--lib/libufs/libufs.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/libufs/libufs.h b/lib/libufs/libufs.h
index 0a5a67d..569d8a0 100644
--- a/lib/libufs/libufs.h
+++ b/lib/libufs/libufs.h
@@ -27,6 +27,9 @@
* $FreeBSD$
*/
+#ifndef __LIBUFS_H__
+#define __LIBUFS_H__
+
/*
* libufs macros (internal, non-exported).
*/
@@ -74,6 +77,8 @@ struct uufsd {
#define d_sb d_sbunion.d_sb
};
+__BEGIN_DECLS
+
/*
* libufs prototypes.
*/
@@ -102,3 +107,7 @@ struct uufsd *ufs_disk_ctor(const char *);
int ufs_disk_close(struct uufsd *);
void ufs_disk_dtor(struct uufsd **);
int ufs_disk_fillout(struct uufsd *, const char *);
+
+__END_DECLS
+
+#endif /* __LIBUFS_H__ */
OpenPOWER on IntegriCloud