From 9207d658052a6c73c64e19907bd48aeda65b3f8a Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 26 Jan 1995 01:21:48 +0000 Subject: [PATCH] Renamed __setpgrp to __setpgid, added weak aliases setpgid and setpgrp. --- sysdeps/unix/sysv/sysv4/setpgid.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/sysdeps/unix/sysv/sysv4/setpgid.c b/sysdeps/unix/sysv/sysv4/setpgid.c index e71f0db7f0..0a1849272d 100644 --- a/sysdeps/unix/sysv/sysv4/setpgid.c +++ b/sysdeps/unix/sysv/sysv4/setpgid.c @@ -26,9 +26,10 @@ extern int __pgrpsys __P ((int type, ...)); If PID is zero, the current process's process group ID is set. If PGID is zero, the process ID of the process is used. */ int -DEFUN(__setpgrp, (pid, pgid), int pid AND int pgid) +DEFUN(__setpgid, (pid, pgid), int pid AND int pgid) { return __pgrpsys (1, pid, pgid); } -weak_alias (__setpgrp, setpgrp) +weak_alias (__setpgid, setpgid) +weak_alias (__setpgid, setpgrp)