From 04b9e20e1f1e4f58076239f13c48963f3a1562ae Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Thu, 25 Mar 2010 07:50:53 +0100 Subject: [PATCH] Use ANSI C. --- ChangeLog | 5 +++++ lib/readutmp.h | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index f30bdbf6b9..8e79cc6703 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2010-03-25 Bruno Haible + + Use ANSI C. + * lib/readutmp.h (getutent): Provide ANSI C prototype. + 2010-03-25 Bruno Haible Minor formatting changes. diff --git a/lib/readutmp.h b/lib/readutmp.h index 38acf4500a..816a29928b 100644 --- a/lib/readutmp.h +++ b/lib/readutmp.h @@ -73,7 +73,7 @@ # include # 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) -- 2.30.2