summaryrefslogtreecommitdiff
path: root/libc/unistd/getlogin.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/unistd/getlogin.c')
-rw-r--r--libc/unistd/getlogin.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libc/unistd/getlogin.c b/libc/unistd/getlogin.c
index e97b662f1..b855e50ac 100644
--- a/libc/unistd/getlogin.c
+++ b/libc/unistd/getlogin.c
@@ -10,9 +10,6 @@
#include <unistd.h>
#include <stdio.h>
-/* Experimentally off - libc_hidden_proto(strcpy) */
-/* Experimentally off - libc_hidden_proto(strncpy) */
-/* libc_hidden_proto(getenv) */
/* uClibc makes it policy to not mess with the utmp file whenever
* possible, since I consider utmp a complete waste of time. Since
@@ -20,7 +17,6 @@
* the user specify whatever they want via the LOGNAME environment
* variable, or we return NULL if getenv() fails to find anything */
-/* libc_hidden_proto(getlogin) */
char * getlogin(void)
{
return (getenv("LOGNAME"));