aboutsummaryrefslogtreecommitdiff
path: root/login/ptsname.c
diff options
context:
space:
mode:
authorFlorian Weimer <fweimer@redhat.com>2021-06-30 07:21:13 +0200
committerFlorian Weimer <fweimer@redhat.com>2021-06-30 07:28:12 +0200
commit8d1f854d60d159931594f31993599b9d9168552b (patch)
treeaa19e4f4bc12be041f2f1fb67b6a9d38fb7dab7d /login/ptsname.c
parent3640654575bef7b56840fbadc1a6d6180ea011a7 (diff)
downloadglibc-8d1f854d60d159931594f31993599b9d9168552b.zip
glibc-8d1f854d60d159931594f31993599b9d9168552b.tar.gz
glibc-8d1f854d60d159931594f31993599b9d9168552b.tar.bz2
login: Hidden prototypes for _getpt, __ptsname_r, grantpt, unlockpt
Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'login/ptsname.c')
-rw-r--r--login/ptsname.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/login/ptsname.c b/login/ptsname.c
index c42f27d..ae94fbd 100644
--- a/login/ptsname.c
+++ b/login/ptsname.c
@@ -38,6 +38,7 @@ __ptsname_r (int fd __attribute__ ((unused)),
__set_errno (ENOSYS);
return ENOSYS;
}
+libc_hidden_def (__ptsname_r)
weak_alias (__ptsname_r, ptsname_r)
stub_warning(ptsname)