Use ANSI C.
authorBruno Haible <bruno@clisp.org>
Thu, 25 Mar 2010 06:50:53 +0000 (07:50 +0100)
committerBruno Haible <bruno@clisp.org>
Thu, 25 Mar 2010 06:50:53 +0000 (07:50 +0100)
ChangeLog
lib/readutmp.h

index f30bdbf..8e79cc6 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2010-03-25  Bruno Haible  <bruno@clisp.org>
 
+       Use ANSI C.
+       * lib/readutmp.h (getutent): Provide ANSI C prototype.
+
+2010-03-25  Bruno Haible  <bruno@clisp.org>
+
        Minor formatting changes.
        * lib/acosl.c: Insert space before function argument list.
        * lib/argz.c: Likewise.
index 38acf45..816a299 100644 (file)
@@ -73,7 +73,7 @@
 
 #  include <utmp.h>
 #  if !HAVE_DECL_GETUTENT
-    struct utmp *getutent();
+    struct utmp *getutent (void);
 #  endif
 #  define UTMP_STRUCT_NAME utmp
 #  define UT_TIME_MEMBER(UT_PTR) ((UT_PTR)->ut_time)