From: Roland McGrath Date: Thu, 26 Jan 1995 01:21:48 +0000 (+0000) Subject: Renamed __setpgrp to __setpgid, added weak aliases setpgid and setpgrp. X-Git-Tag: glibc-2.16-ports-before-merge~3978 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9207d658052a6c73c64e19907bd48aeda65b3f8a;p=thirdparty%2Fglibc.git Renamed __setpgrp to __setpgid, added weak aliases setpgid and setpgrp. --- diff --git a/sysdeps/unix/sysv/sysv4/setpgid.c b/sysdeps/unix/sysv/sysv4/setpgid.c index e71f0db7f0a..0a1849272da 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)