summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-25 23:59:37 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-25 23:59:37 +0100
commit2b33716c08cc506e57115e34b5fe11d8d5477398 (patch)
tree707f6e67581df85e9f356af9e1fb569c0519c337 /libc/misc
parent40effcf4c1e9a2fb9169d9189bdc9b1c888f9345 (diff)
utmp: Remove unneeded alias
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/utmp/utent.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/misc/utmp/utent.c b/libc/misc/utmp/utent.c
index 4d71f5e29..a258cb46d 100644
--- a/libc/misc/utmp/utent.c
+++ b/libc/misc/utmp/utent.c
@@ -93,7 +93,7 @@ strong_alias(__getutent_unlocked,getutent)
#endif
libc_hidden_def(getutent)
-static void __endutent(void)
+void endutent(void)
{
__UCLIBC_MUTEX_LOCK(utmplock);
if (static_fd >= 0)
@@ -101,7 +101,6 @@ static void __endutent(void)
static_fd = -1;
__UCLIBC_MUTEX_UNLOCK(utmplock);
}
-strong_alias(__endutent,endutent)
libc_hidden_def(endutent)
/* This function must be called with the LOCK held */