summaryrefslogtreecommitdiff
path: root/libc/misc/utmp/utent.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-07 13:35:11 (GMT)
committerEric Andersen <andersen@codepoet.org>2002-08-07 13:35:11 (GMT)
commitbd85a75e3cd2972e2c7c7b7dac878f451c8065a4 (patch)
tree316fb3bcd9a78568e7a1d8e337060971a4d6e696 /libc/misc/utmp/utent.c
parent9a1a89e45461cb586f4aaf9a2e3585d870f189e3 (diff)
Remove some noise
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 186ee99..7509681 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)
{