summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-07 13:35:11 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-07 13:35:11 +0000
commitbd85a75e3cd2972e2c7c7b7dac878f451c8065a4 (patch)
tree316fb3bcd9a78568e7a1d8e337060971a4d6e696 /libc/misc
parent9a1a89e45461cb586f4aaf9a2e3585d870f189e3 (diff)
Remove some noise
Diffstat (limited to 'libc/misc')
-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)
{