changeset 13052:082bcf732231

Use ANSI C.
author Bruno Haible <bruno@clisp.org>
date Thu, 25 Mar 2010 07:50:53 +0100
parents 094f6cfdb5c3
children 1ea205413d02
files ChangeLog lib/readutmp.h
diffstat 2 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+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.
--- a/lib/readutmp.h
+++ b/lib/readutmp.h
@@ -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)