about summary refs log tree commit diff
path: root/login/getutent_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/getutent_r.c')
-rw-r--r--login/getutent_r.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/login/getutent_r.c b/login/getutent_r.c
index ad8e9eb7c2..e3550017f9 100644
--- a/login/getutent_r.c
+++ b/login/getutent_r.c
@@ -22,7 +22,7 @@ Boston, MA 02111-1307, USA.  */
 
 
 int
-getutent_r (struct utmp **utmp, struct utmp_data *utmp_data)
+__getutent_r (struct utmp **utmp, struct utmp_data *utmp_data)
 {
   /* Open utmp file if not already done.  */
   if (utmp_data->ut_fd == -1)
@@ -48,3 +48,4 @@ getutent_r (struct utmp **utmp, struct utmp_data *utmp_data)
 
   return 0;
 }
+weak_alias (__getutent_r, getutent_r)