1
0
mirror of git://git.sv.gnu.org/coreutils.git synced 2026-03-22 04:43:33 +02:00

[HAVE_UTMPX_H && !HAVE_DECL_GETUTENT]: Declare getutent.

This commit is contained in:
Jim Meyering
2000-04-05 15:05:54 +00:00
parent ff9b9b202c
commit f7cfce8952

View File

@@ -42,6 +42,9 @@
# endif
# else
# include <utmp.h>
# if !HAVE_DECL_GETUTENT
struct utmp *getutent();
# endif
# define UTMP_STRUCT_NAME utmp
# define UT_TIME_MEMBER(UT_PTR) ((UT_PTR)->ut_time)
# define SET_UTMP_ENT setutent