summaryrefslogtreecommitdiffstats
path: root/sys/sys/dirent.h
diff options
context:
space:
mode:
authorpaul <paul@FreeBSD.org>1994-08-21 04:42:17 +0000
committerpaul <paul@FreeBSD.org>1994-08-21 04:42:17 +0000
commit1f5dfa1be240017a7a4d938578b9a01ce1082391 (patch)
tree503b5194bb3f101dcab5d49f27345f4dbb655a87 /sys/sys/dirent.h
parent4141aa7be2695cd9b6bfd9884de4fdddcb1ebced (diff)
downloadFreeBSD-src-1f5dfa1be240017a7a4d938578b9a01ce1082391.zip
FreeBSD-src-1f5dfa1be240017a7a4d938578b9a01ce1082391.tar.gz
Made them all idempotent.
Reviewed by: Submitted by:
Diffstat (limited to 'sys/sys/dirent.h')
-rw-r--r--sys/sys/dirent.h7
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/sys/dirent.h b/sys/sys/dirent.h
index 4fef841..80c519e 100644
--- a/sys/sys/dirent.h
+++ b/sys/sys/dirent.h
@@ -31,9 +31,12 @@
* SUCH DAMAGE.
*
* @(#)dirent.h 8.1 (Berkeley) 6/2/93
- * $Id$
+ * $Id: dirent.h,v 1.2 1994/08/02 07:52:47 davidg Exp $
*/
+#ifndef _SYS_DIRENT_H_
+#define _SYS_DIRENT_H_
+
/*
* The dirent structure defines the format of directory entries returned by
* the getdirentries(2) system call.
@@ -75,3 +78,5 @@ struct dirent {
*/
#define IFTODT(mode) (((mode) & 0170000) >> 12)
#define DTTOIF(dirtype) ((dirtype) << 12)
+
+#endif
OpenPOWER on IntegriCloud