From: Roland McGrath Date: Thu, 26 Jan 1995 01:22:57 +0000 (+0000) Subject: Renamed __getpgrp to __getpgid, added weak alias getpgid. X-Git-Tag: upstream/2.30~10627^2~3977 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=86c4edb31b2632c6731dd0ae0419d5eea13cde9d;p=external%2Fglibc.git Renamed __getpgrp to __getpgid, added weak alias getpgid. --- diff --git a/sysdeps/unix/sysv/sysv4/getpgid.c b/sysdeps/unix/sysv/sysv4/getpgid.c index f777769..c957bf9 100644 --- a/sysdeps/unix/sysv/sysv4/getpgid.c +++ b/sysdeps/unix/sysv/sysv4/getpgid.c @@ -1,4 +1,4 @@ -/* Copyright (C) 1993 Free Software Foundation, Inc. +/* Copyright (C) 1993, 1995 Free Software Foundation, Inc. This file is part of the GNU C Library. The GNU C Library is free software; you can redistribute it and/or @@ -25,7 +25,9 @@ extern int __pgrpsys __P ((int type, ...)); /* Get the process group ID of process PID. */ int -DEFUN(__getpgrp, (pid), pid_t pid) +DEFUN(__getpgid, (pid), pid_t pid) { return __pgrpsys (0, pid); } + +weak_alias (__getpgid, getpgid)