summaryrefslogtreecommitdiff
path: root/lib/posixtm.h
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1998-09-07 02:18:43 +0000
committerJim Meyering <jim@meyering.net>1998-09-07 02:18:43 +0000
commit164bff8dc027a0d91690dce814bbe52e1a1a1892 (patch)
tree1620e07408a698606b37db68e77e4e8e7cb198ec /lib/posixtm.h
parent7b7b9007db2804eed6eb96e12bb095ddbb742c39 (diff)
downloadcoreutils-164bff8dc027a0d91690dce814bbe52e1a1a1892.tar.xz
*** empty log message ***
Diffstat (limited to 'lib/posixtm.h')
-rw-r--r--lib/posixtm.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/lib/posixtm.h b/lib/posixtm.h
index f2bca7943..36ffc016c 100644
--- a/lib/posixtm.h
+++ b/lib/posixtm.h
@@ -1,11 +1,16 @@
+#ifndef POSIXTM_H_
+# define POSIXTM_H_
+
/* POSIX Date Syntax flags. */
-#define PDS_LEADING_YEAR 1
-#define PDS_TRAILING_YEAR 2
-#define PDS_CENTURY 4
-#define PDS_SECONDS 8
+# define PDS_LEADING_YEAR 1
+# define PDS_TRAILING_YEAR 2
+# define PDS_CENTURY 4
+# define PDS_SECONDS 8
time_t
posixtime (const char *s, unsigned int syntax_bits);
struct tm *
posixtm (const char *s, unsigned int syntax_bits);
+
+#endif