From 6349a663038dbe7b59467c5bd06cd5f5dc91c867 Mon Sep 17 00:00:00 2001
From: Denys Vlasenko <vda.linux@googlemail.com>
Date: Sun, 6 Feb 2011 23:51:23 +0100
Subject: fix a problem with hidden getutent in non-threaded builds

Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
---
 libc/misc/utmp/utent.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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)
 {
-- 
cgit v1.2.3