summaryrefslogtreecommitdiff
path: root/libc/misc/utmp/utxent.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/utmp/utxent.c')
-rw-r--r--libc/misc/utmp/utxent.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/libc/misc/utmp/utxent.c b/libc/misc/utmp/utxent.c
index 71157ccd8..a0e80a662 100644
--- a/libc/misc/utmp/utxent.c
+++ b/libc/misc/utmp/utxent.c
@@ -13,7 +13,6 @@
#include <utmpx.h>
#include <utmp.h>
-#if 0 /* moved to utent.c */
void setutxent(void)
{
setutent ();
@@ -49,12 +48,10 @@ int utmpxname (const char *new_ut_name)
return utmpname (new_ut_name);
}
-/* moved to wtent.c */
void updwtmpx (const char *wtmpx_file, const struct utmpx *utmpx)
{
updwtmp (wtmpx_file, (const struct utmp *) utmpx);
}
-#endif
/* Copy the information in UTMPX to UTMP. */
void getutmp (const struct utmpx *utmpx, struct utmp *utmp)
@@ -107,3 +104,4 @@ void getutmpx (const struct utmp *utmp, struct utmpx *utmpx)
utmpx->ut_time = utmp->ut_time;
#endif
}
+