summaryrefslogtreecommitdiff
path: root/date.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-01-12 07:52:47 (GMT)
committerJunio C Hamano <gitster@pobox.com>2010-01-20 22:37:17 (GMT)
commit23418ea95f83177df19bfe18af33650b87ec2a8a (patch)
tree7440a2392870f75d4fb7b5810aa7ee37b3712c89 /date.c
parent837d395a5c0b98ab938d71db8e2b6b9f69ddcc4d (diff)
downloadgit-23418ea95f83177df19bfe18af33650b87ec2a8a.zip
git-23418ea95f83177df19bfe18af33650b87ec2a8a.tar.gz
git-23418ea95f83177df19bfe18af33650b87ec2a8a.tar.bz2
date.c: mark file-local function static
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'date.c')
-rw-r--r--date.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/date.c b/date.c
index 5d05ef6..45f3684 100644
--- a/date.c
+++ b/date.c
@@ -9,7 +9,7 @@
/*
* This is like mktime, but without normalization of tm_wday and tm_yday.
*/
-time_t tm_to_time_t(const struct tm *tm)
+static time_t tm_to_time_t(const struct tm *tm)
{
static const int mdays[] = {
0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334