From: Bruno Haible Date: Thu, 25 Mar 2010 06:50:53 +0000 (+0100) Subject: Use ANSI C. X-Git-Tag: v0.1~4435 X-Git-Url: http://erislabs.org.uk/gitweb/?a=commitdiff_plain;h=04b9e20e1f1e4f58076239f13c48963f3a1562ae;p=gnulib.git Use ANSI C. --- 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)