summaryrefslogtreecommitdiff
path: root/libc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-24 00:11:28 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2015-03-24 00:11:28 +0100
commit97c9f52239301c81c021b8be187ac07ddf33496d (patch)
tree0f7f1fe4a44d2c6c073ac16e51d78f5e8bd4d2bb /libc
parentd0f60a600bafc3f6dfc844418d310cf6a4e38c92 (diff)
utmp: Remove unneeded aliases
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc')
-rw-r--r--libc/misc/utmp/utent.c9
1 files changed, 3 insertions, 6 deletions
diff --git a/libc/misc/utmp/utent.c b/libc/misc/utmp/utent.c
index 87fe42b16..c45820e3a 100644
--- a/libc/misc/utmp/utent.c
+++ b/libc/misc/utmp/utent.c
@@ -143,7 +143,7 @@ strong_alias(__getutid_unlocked,getutid)
#endif
libc_hidden_def(getutid)
-static struct utmp *__getutline(const struct utmp *utmp_entry)
+struct utmp *getutline(const struct utmp *utmp_entry)
{
struct utmp *lutmp;
@@ -158,10 +158,9 @@ static struct utmp *__getutline(const struct utmp *utmp_entry)
__UCLIBC_MUTEX_UNLOCK(utmplock);
return lutmp;
}
-strong_alias(__getutline,getutline)
libc_hidden_def(getutline)
-static struct utmp *__pututline(const struct utmp *utmp_entry)
+struct utmp *pututline(const struct utmp *utmp_entry)
{
__UCLIBC_MUTEX_LOCK(utmplock);
/* Ignore the return value. That way, if they've already positioned
@@ -178,10 +177,9 @@ static struct utmp *__pututline(const struct utmp *utmp_entry)
__UCLIBC_MUTEX_UNLOCK(utmplock);
return (struct utmp *)utmp_entry;
}
-strong_alias(__pututline,pututline)
libc_hidden_def(pututline)
-static int __utmpname(const char *new_ut_name)
+int utmpname(const char *new_ut_name)
{
__UCLIBC_MUTEX_LOCK(utmplock);
if (new_ut_name != NULL) {
@@ -202,5 +200,4 @@ static int __utmpname(const char *new_ut_name)
__UCLIBC_MUTEX_UNLOCK(utmplock);
return 0; /* or maybe return -(static_ut_name != new_ut_name)? */
}
-strong_alias(__utmpname,utmpname)
libc_hidden_def(utmpname)