From: Bruno Haible Date: Thu, 25 Mar 2010 06:50:53 +0000 (+0100) Subject: Use ANSI C. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=04b9e20e1f1e4f58076239f13c48963f3a1562ae;p=pspp Use ANSI C. --- 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)