diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 10:33:06 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-07-12 10:33:06 -0700 |
commit | 26a2d8ae898f5442904dd2fbf89c5fe34480ea85 (patch) | |
tree | 47ee9c64ce2e64aaa93faac0920eca54c63a775c /cache.h | |
parent | ced7c8482124ba66cfa8e5b9a3f62bf663cb1826 (diff) | |
download | git-26a2d8ae898f5442904dd2fbf89c5fe34480ea85.tar.gz git-26a2d8ae898f5442904dd2fbf89c5fe34480ea85.tar.xz |
parse_date(): allow const date string
This is part of breaking up the tag ID patch by Eric Biederman.
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -208,7 +208,7 @@ extern void *read_object_with_reference(const unsigned char *sha1, unsigned char *sha1_ret); const char *show_date(unsigned long time, int timezone); -void parse_date(char *date, char *buf, int bufsize); +void parse_date(const char *date, char *buf, int bufsize); void datestamp(char *buf, int bufsize); static inline void *xmalloc(size_t size) |