projects
/
gnulib.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
aeb898d
)
Use ANSI C.
author
Bruno Haible
<bruno@clisp.org>
Thu, 25 Mar 2010 06:50:53 +0000
(07:50 +0100)
committer
Bruno Haible
<bruno@clisp.org>
Thu, 25 Mar 2010 06:50:53 +0000
(07:50 +0100)
ChangeLog
patch
|
blob
|
history
lib/readutmp.h
patch
|
blob
|
history
diff --git
a/ChangeLog
b/ChangeLog
index
f30bdbf
..
8e79cc6
100644
(file)
--- a/
ChangeLog
+++ b/
ChangeLog
@@
-1,5
+1,10
@@
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.
* lib/acosl.c: Insert space before function argument list.
* lib/argz.c: Likewise.
diff --git
a/lib/readutmp.h
b/lib/readutmp.h
index
38acf45
..
816a299
100644
(file)
--- 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)