summaryrefslogtreecommitdiff
path: root/libc/misc/utmp/utent.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2011-02-06 23:51:23 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2011-02-06 23:51:23 +0100
commit6349a663038dbe7b59467c5bd06cd5f5dc91c867 (patch)
treeda2c4f9240a86a5c7e1372effea3b8860e59c9f7 /libc/misc/utmp/utent.c
parent269f901e62106e2d36acf4c2b79a9a5ec6d684ff (diff)
fix a problem with hidden getutent in non-threaded builds
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'libc/misc/utmp/utent.c')
-rw-r--r--libc/misc/utmp/utent.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/misc/utmp/utent.c b/libc/misc/utmp/utent.c
index bf265c2a3..11d615437 100644
--- a/libc/misc/utmp/utent.c
+++ b/libc/misc/utmp/utent.c
@@ -98,8 +98,8 @@ struct utmp *getutent(void)
__UCLIBC_MUTEX_UNLOCK(utmplock);
return ret;
}
-libc_hidden_def(getutent)
#endif
+libc_hidden_def(getutent)
void endutent(void)
{