chiark / gitweb /
Use a local implementation of strptime() instead of broken OS ones
[disorder] / lib / strptime.h
diff --git a/lib/strptime.h b/lib/strptime.h
new file mode 100644 (file)
index 0000000..324f88d
--- /dev/null
@@ -0,0 +1,19 @@
+#ifndef STRPTIME_H
+#define STRPTIME_H
+
+#include <time.h>
+
+char *my_strptime(const char *buf,
+                  const char *format,
+                  struct tm *tm);
+
+#endif /* STRPTIME_H */
+
+/*
+Local Variables:
+c-basic-offset:2
+comment-column:40
+fill-column:79
+indent-tabs-mode:nil
+End:
+*/