summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheodore Ts'o <tytso@mit.edu>2001-06-22 20:51:42 -0400
committerTheodore Ts'o <tytso@mit.edu>2001-06-22 20:51:42 -0400
commit163337b069bd88d77e01f348a8b924a12caaa5a7 (patch)
tree8051c198c5df853906c40ffc32d55a6dd5bae397 /lib
parentb006f361ed5e26005d0005b8d43ab9682fae4f9e (diff)
downloade2fsprogs-163337b069bd88d77e01f348a8b924a12caaa5a7.tar.gz
uuid.h: Add protection against multiple inclusion
Diffstat (limited to 'lib')
-rw-r--r--lib/uuid/ChangeLog4
-rw-r--r--lib/uuid/uuid.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/lib/uuid/ChangeLog b/lib/uuid/ChangeLog
index d7b415c8..aa8e830b 100644
--- a/lib/uuid/ChangeLog
+++ b/lib/uuid/ChangeLog
@@ -1,3 +1,7 @@
+2001-06-21 Theodore Tso <tytso@valinux.com>
+
+ * uuid.h: Add protection against multiple inclusion
+
2001-06-15 Theodore Tso <tytso@valinux.com>
* Release of E2fsprogs 1.21
diff --git a/lib/uuid/uuid.h b/lib/uuid/uuid.h
index 0e974d89..db0147c7 100644
--- a/lib/uuid/uuid.h
+++ b/lib/uuid/uuid.h
@@ -9,6 +9,9 @@
* %End-Header%
*/
+#ifndef _UUID_UUID_H
+#define _UUID_UUID_H
+
#include <sys/types.h>
#include <sys/time.h>
#include <time.h>
@@ -48,3 +51,5 @@ void uuid_unparse(uuid_t uu, char *out);
time_t uuid_time(uuid_t uu, struct timeval *ret_tv);
int uuid_type(uuid_t uu);
int uuid_variant(uuid_t uu);
+
+#endif /* _UUID_UUID_H */