@matheusbsbs / matheus-bagliano / commits / 23418ea95f
Fork 0

date.c: mark file-local function static

Signed-off-by: Junio C Hamano <gitster@pobox.com>

Junio C Hamano committed Jan 11, 2010 at 23:52 UTC 23418ea95f83177df19bfe18af33650b87ec2a8a
2 files changed +1 -2
date.c
+1 -1
@@ -9,7 +9,7 @@
9 /*
10 * This is like mktime, but without normalization of tm_wday and tm_yday.
11 */
12 -time_t tm_to_time_t(const struct tm *tm)
12 +static time_t tm_to_time_t(const struct tm *tm)
13 {
14 static const int mdays[] = {
15 0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334
git-compat-util.h
-1
@@ -198,7 +198,6 @@ extern void warning(const char *err, ...) __attribute__((format (printf, 1, 2)))
198 extern void set_die_routine(NORETURN_PTR void (*routine)(const char *err, va_list params));
199
200 extern int prefixcmp(const char *str, const char *prefix);
201 -extern time_t tm_to_time_t(const struct tm *tm);
201
202 static inline const char *skip_prefix(const char *str, const char *prefix)
203 {