summaryrefslogtreecommitdiff
path: root/libc/misc/utmp/utent.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/utmp/utent.c')
-rw-r--r--libc/misc/utmp/utent.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/libc/misc/utmp/utent.c b/libc/misc/utmp/utent.c
index 186ee9927..7509681a9 100644
--- a/libc/misc/utmp/utent.c
+++ b/libc/misc/utmp/utent.c
@@ -107,19 +107,6 @@ struct utmp *getutent(void)
return __getutent(static_fd);
}
-#if 0
-struct utmp * getutent(void)
-{
- struct utmp *result;
- static struct utmp buffer;
-
- if (getutent_r(&buffer, &result) < 0)
- return NULL;
-
- return result;
-}
-#endif
-
/* Locking is done in __getutent */
struct utmp *getutid (const struct utmp *utmp_entry)
{