chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Source code reorganization:
[disorder]
/
lib
/
dateparse.h
diff --git
a/lib/dateparse.h
b/lib/dateparse.h
index 2f52dacf3baa448c992f35e17ff23afce9a3e2af..7b96fe9b0688996786074c86427c3a50efafc1b0 100644
(file)
--- a/
lib/dateparse.h
+++ b/
lib/dateparse.h
@@
-17,11
+17,15
@@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*/
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307
* USA
*/
-
/** @file lib/dateparse.h
* @brief Date parsing
*/
/** @file lib/dateparse.h
* @brief Date parsing
*/
+#ifndef DATEPARSE_H
+#define DATEPARSE_H
+
+#include <time.h>
+
time_t dateparse(const char *s);
#if 0
struct tm *xgetdate(const char *string,
time_t dateparse(const char *s);
#if 0
struct tm *xgetdate(const char *string,
@@
-31,6
+35,8
@@
int xgetdate_r(const char *string,
struct tm *tp,
const char *const *template);
struct tm *tp,
const char *const *template);
+#endif /* DATEPARSE_H */
+
/*
Local Variables:
c-basic-offset:2
/*
Local Variables:
c-basic-offset:2