From a802e7b9420571c932f0e98a1c3cca4f43adf8a3 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Tue, 30 Sep 2003 06:11:03 +0000 Subject: [PATCH] * strftime.c (tm_diff) [! HAVE_TM_GMTOFF]: Fix arg typo in previous patch. --- lib/ChangeLog | 5 +++++ lib/strftime.c | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/ChangeLog b/lib/ChangeLog index 79effe0ae0..ebaadd6b63 100644 --- a/lib/ChangeLog +++ b/lib/ChangeLog @@ -1,3 +1,8 @@ +2003-09-29 Paul Eggert + + * strftime.c (tm_diff) [! HAVE_TM_GMTOFF]: + Fix arg typo in previous patch. + 2003-09-28 Jim Meyering * error.c: Correct cpp indentation. diff --git a/lib/strftime.c b/lib/strftime.c index 66f2732972..dccbaf7a18 100644 --- a/lib/strftime.c +++ b/lib/strftime.c @@ -273,7 +273,7 @@ memcpy_uppcase (CHAR_T *dest, const CHAR_T *src, measured in seconds, ignoring leap seconds. */ # define tm_diff ftime_tm_diff static int -tm_diff (const struct tm *, const struct tm *) +tm_diff (const struct tm *a, const struct tm *b) { /* Compute intervening leap days correctly even if year is negative. Take care to avoid int overflow in leap day calculations, -- 2.30.2