chiark
/
gitweb
/
~mdw
/
disorder
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Assume initial digits in a track name are a sort key even without the
[disorder]
/
lib
/
dateparse.h
diff --git
a/lib/dateparse.h
b/lib/dateparse.h
index d86d14f001c2248f92ab78fed032adb790f25fb0..7b96fe9b0688996786074c86427c3a50efafc1b0 100644
(file)
--- a/
lib/dateparse.h
+++ b/
lib/dateparse.h
@@
-17,18
+17,26
@@
* 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);
time_t dateparse(const char *s);
+#if 0
struct tm *xgetdate(const char *string,
const char *const *template);
struct tm *xgetdate(const char *string,
const char *const *template);
+#endif
int xgetdate_r(const char *string,
struct tm *tp,
const char *const *template);
int xgetdate_r(const char *string,
struct tm *tp,
const char *const *template);
+#endif /* DATEPARSE_H */
+
/*
Local Variables:
c-basic-offset:2
/*
Local Variables:
c-basic-offset:2