diff options
Diffstat (limited to 'sysdeps/gnu')
-rw-r--r-- | sysdeps/gnu/Makefile | 2 | ||||
-rw-r--r-- | sysdeps/gnu/utmpx.h | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/sysdeps/gnu/Makefile b/sysdeps/gnu/Makefile index 14a190acf6..4e814d93cd 100644 --- a/sysdeps/gnu/Makefile +++ b/sysdeps/gnu/Makefile @@ -31,7 +31,7 @@ endif ifeq ($(subdir),login) sysdep_routines += setutxent getutxent endutxent getutxid getutxline \ - pututxline utmpxname updwtmpx + pututxline utmpxname updwtmpx getutmpx getutmp sysdep_headers += utmpx.h bits/utmpx.h endif diff --git a/sysdeps/gnu/utmpx.h b/sysdeps/gnu/utmpx.h index e9f2389b75..64fac6292c 100644 --- a/sysdeps/gnu/utmpx.h +++ b/sysdeps/gnu/utmpx.h @@ -60,6 +60,14 @@ extern int utmpxname __P ((__const char *__file)); /* Append entry UTMP to the wtmpx-like file WTMPX_FILE. */ extern void updwtmpx __P ((__const char *__wtmpx_file, __const struct utmpx *__utmpx)); + +/* Copy the information in UTMPX to UTMP. */ +extern void getutmp __P ((__const struct utmpx *__utmpx, + struct utmp *__utmp)); + +/* Copy the information in UTMP to UTMPX. */ +extern void getutmpx __P ((__const struct utmp *__utmp, + struct utmpx *__utmpx)); #endif __END_DECLS |