mktime.m4: remove K&R-style function prototypes
authorAlbert Chin-A-Young <china@thewrittenword.com>
Wed, 14 Jan 2009 18:56:51 +0000 (12:56 -0600)
committerJim Meyering <meyering@redhat.com>
Thu, 15 Jan 2009 08:07:25 +0000 (09:07 +0100)
* m4/mktime.m4 (AC_FUNC_MKTIME): Remove K&R-style function prototypes
for the Sun C++ compiler.

ChangeLog
m4/mktime.m4

index 766fde7bcf9ef48b3dd8f028811b12a1cd842b61..395fefa36ef0ac12c8583c5ff7f3fa147bf31de7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2009-01-15  Albert Chin-A-Young  <china@thewrittenword.com>
+
+       mktime.m4: remove K&R-style function prototypes
+       * m4/mktime.m4 (AC_FUNC_MKTIME): Remove K&R-style function prototypes
+       for the Sun C++ compiler.
+
 2009-01-14  Bruno Haible  <bruno@clisp.org>
 
        * lib/stdint.in.h (_GL_JUST_INCLUDE_SYSTEM_WCHAR_H): New macro, defined
index cc792af29e1d137b894e3a90335921d84307a72a..223b9f1f4050e042951204546e3bcabee4de3d5c 100644 (file)
@@ -68,16 +68,14 @@ spring_forward_gap ()
 }
 
 static int
-mktime_test1 (now)
-     time_t now;
+mktime_test1 (time_t now)
 {
   struct tm *lt;
   return ! (lt = localtime (&now)) || mktime (lt) == now;
 }
 
 static int
-mktime_test (now)
-     time_t now;
+mktime_test (time_t now)
 {
   return (mktime_test1 (now)
          && mktime_test1 ((time_t) (time_t_max - now))
@@ -101,8 +99,7 @@ irix_6_4_bug ()
 }
 
 static int
-bigtime_test (j)
-     int j;
+bigtime_test (int j)
 {
   struct tm tm;
   time_t now;