Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Torvalds <torvalds@g5.osdl.org>2005-07-12 21:33:06 +0400
committerLinus Torvalds <torvalds@g5.osdl.org>2005-07-12 21:33:06 +0400
commit26a2d8ae898f5442904dd2fbf89c5fe34480ea85 (patch)
tree47ee9c64ce2e64aaa93faac0920eca54c63a775c /cache.h
parentced7c8482124ba66cfa8e5b9a3f62bf663cb1826 (diff)
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.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/cache.h b/cache.h
index f29afc4088..f0eecb3d4c 100644
--- a/cache.h
+++ b/cache.h
@@ -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)