#define PRIo32 "o"
#endif
+typedef unsigned long timestamp_t;
+#define PRItime "lu"
+#define parse_timestamp strtoul
+#define TIME_MAX ULONG_MAX
+
#ifndef PATH_SEP
#define PATH_SEP ':'
#endif
extern FILE *xfdopen(int fd, const char *mode);
extern int xmkstemp(char *template);
extern int xmkstemp_mode(char *template, int mode);
-extern int odb_mkstemp(char *template, size_t limit, const char *pattern);
-extern int odb_pack_keep(char *name, size_t namesz, const unsigned char *sha1);
extern char *xgetcwd(void);
extern FILE *fopen_for_writing(const char *path);