aboutsummaryrefslogtreecommitdiff
path: root/login/getlogin_r.c
diff options
context:
space:
mode:
Diffstat (limited to 'login/getlogin_r.c')
-rw-r--r--login/getlogin_r.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/login/getlogin_r.c b/login/getlogin_r.c
index a49fb4a0df..8848b61544 100644
--- a/login/getlogin_r.c
+++ b/login/getlogin_r.c
@@ -23,13 +23,15 @@
If it cannot be determined or some other error occurred, return the error
code. Otherwise return 0. */
int
-getlogin_r (name, name_len)
+__getlogin_r (name, name_len)
char *name;
size_t name_len;
{
__set_errno (ENOSYS);
return errno;
}
-libc_hidden_def (getlogin_r)
+libc_hidden_def (__getlogin_r)
+weak_alias (__getlogin_r, getlogin_r)
+libc_hidden_weak (getlogin_r)
stub_warning (getlogin_r)