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 f30bdbf6b..8e79cc670 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2010-03-25 Bruno Haible + Use ANSI C. + * lib/readutmp.h (getutent): Provide ANSI C prototype. + +2010-03-25 Bruno Haible + Minor formatting changes. * lib/acosl.c: Insert space before function argument list. * lib/argz.c: Likewise. diff --git a/lib/readutmp.h b/lib/readutmp.h index 38acf4500..816a29928 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.11.0