aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/bsd/tcsetpgrp.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/unix/bsd/tcsetpgrp.c')
-rw-r--r--sysdeps/unix/bsd/tcsetpgrp.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sysdeps/unix/bsd/tcsetpgrp.c b/sysdeps/unix/bsd/tcsetpgrp.c
index a7c34ae..272f207 100644
--- a/sysdeps/unix/bsd/tcsetpgrp.c
+++ b/sysdeps/unix/bsd/tcsetpgrp.c
@@ -22,7 +22,9 @@
/* Set the foreground process group ID of FD set PGRP_ID. */
int
-tcsetpgrp (int fd, pid_t pgrp_id)
+__tcsetpgrp (int fd, pid_t pgrp_id)
{
return __ioctl (fd, TIOCSPGRP, &pgrp_id);
}
+weak_alias (__tcsetpgrp, tcsetpgrp)
+libc_hidden_def (__tcsetpgrp)