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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user