Remove inline keyword from leapyear function
authorSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 26 Jun 2014 18:30:06 +0000 (00:00 +0530)
committerSiddhesh Poyarekar <siddhesh@redhat.com>
Thu, 26 Jun 2014 18:30:06 +0000 (00:00 +0530)
This syncs up the code with gnulib.

ChangeLog
time/mktime.c

index 4b26a77..506eaed 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
+
+       * time/mktime.c (leapyear): Remove inline keyword.  The code is now
+       identical to gnulib mktime.
+
 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
 
        * configure.ac: Do not test for machine being rs6000.  Do not test
index 963e4b9..f10e530 100644 (file)
@@ -142,7 +142,7 @@ verify (twos_complement_arithmetic,
 verify (base_year_is_a_multiple_of_100, TM_YEAR_BASE % 100 == 0);
 
 /* Return 1 if YEAR + TM_YEAR_BASE is a leap year.  */
-static inline int
+static int
 leapyear (long_int year)
 {
   /* Don't add YEAR to TM_YEAR_BASE, as that might overflow.