about summary refs log tree commit diff
path: root/login/getutline.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/getutline.c')
-rw-r--r--login/getutline.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/login/getutline.c b/login/getutline.c
index 16a02f6e89..1e1ecb1ce3 100644
--- a/login/getutline.c
+++ b/login/getutline.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1996 Free Software Foundation, Inc.
+/* Copyright (C) 1996, 1997 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
    Contributed by Ulrich Drepper <drepper@cygnus.com>, 1996.
 
@@ -25,7 +25,7 @@ static struct utmp buffer;
 
 
 struct utmp *
-getutline (const struct utmp *line)
+__getutline (const struct utmp *line)
 {
   struct utmp *result;
 
@@ -34,3 +34,5 @@ getutline (const struct utmp *line)
 
   return result;
 }
+weak_alias (__getutline, getutline)
+weak_alias (__getutline, getutxline)