diff options
Diffstat (limited to 'login')
-rw-r--r-- | login/getpt.c | 1 | ||||
-rw-r--r-- | login/grantpt.c | 2 | ||||
-rw-r--r-- | login/ptsname.c | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/login/getpt.c b/login/getpt.c index 585bc3b..9b71765 100644 --- a/login/getpt.c +++ b/login/getpt.c @@ -27,6 +27,7 @@ __getpt (void) __set_errno (ENOSYS); return -1; } +libc_hidden_def (__getpt) weak_alias (__getpt, getpt) /* We cannot define posix_openpt in general for BSD systems. */ diff --git a/login/grantpt.c b/login/grantpt.c index 7dc5db3..9390966 100644 --- a/login/grantpt.c +++ b/login/grantpt.c @@ -28,5 +28,5 @@ grantpt (int fd __attribute__ ((unused))) __set_errno (ENOSYS); return -1; } - +libc_hidden_def (grantpt) stub_warning (grantpt) 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) |