From 4f00a35cfc2af9385a4901ae758044ef442ca6c3 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Tue, 15 Sep 2009 06:03:36 +0000 Subject: =?UTF-8?q?2009-09-15=09Ralf=20Cors=C3=A9pius=20?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR 1441/cpukit * libcsupport/src/tcgetprgrp.c: Remove. * libcsupport/src/tcgetpgrp.c: New (Renamed from libcsupport/src/tcgetprgrp.c). * libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c. Remove libcsupport/src/tcgetprgrp.c. --- cpukit/ChangeLog | 9 +++++++++ cpukit/libcsupport/Makefile.am | 2 +- cpukit/libcsupport/src/tcgetprgrp.c | 34 ---------------------------------- 3 files changed, 10 insertions(+), 35 deletions(-) delete mode 100644 cpukit/libcsupport/src/tcgetprgrp.c diff --git a/cpukit/ChangeLog b/cpukit/ChangeLog index 8bc2e1d3d2..b610f62b80 100644 --- a/cpukit/ChangeLog +++ b/cpukit/ChangeLog @@ -1,3 +1,12 @@ +2009-09-15 Ralf Corsépius + + PR 1441/cpukit + * libcsupport/src/tcgetprgrp.c: Remove. + * libcsupport/src/tcgetpgrp.c: New (Renamed from + libcsupport/src/tcgetprgrp.c). + * libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c. + Remove libcsupport/src/tcgetprgrp.c. + 2009-06-03 Joel Sherrill PR 1421/filesystem diff --git a/cpukit/libcsupport/Makefile.am b/cpukit/libcsupport/Makefile.am index 504a7bd06d..1a7ab29cdb 100644 --- a/cpukit/libcsupport/Makefile.am +++ b/cpukit/libcsupport/Makefile.am @@ -50,7 +50,7 @@ BASE_FS_C_FILES = src/base_fs.c src/mount.c src/unmount.c src/libio.c \ TERMIOS_C_FILES = src/cfgetispeed.c src/cfgetospeed.c src/cfsetispeed.c \ src/cfsetospeed.c src/tcgetattr.c src/tcsetattr.c src/tcdrain.c \ - src/tcflow.c src/tcflush.c src/tcgetprgrp.c src/tcsendbreak.c \ + src/tcflow.c src/tcflush.c src/tcgetpgrp.c src/tcsendbreak.c \ src/tcsetpgrp.c src/termios.c src/termiosinitialize.c \ src/termiosreserveresources.c diff --git a/cpukit/libcsupport/src/tcgetprgrp.c b/cpukit/libcsupport/src/tcgetprgrp.c deleted file mode 100644 index 769883d46d..0000000000 --- a/cpukit/libcsupport/src/tcgetprgrp.c +++ /dev/null @@ -1,34 +0,0 @@ -/* - * tcgetprgrp() - POSIX 1003.1b 7.2.3 - Get Foreground Process Group ID - * - * COPYRIGHT (c) 1989-1999. - * On-Line Applications Research Corporation (OAR). - * - * The license and distribution terms for this file may be - * found in the file LICENSE in this distribution or at - * http://www.rtems.com/license/LICENSE. - * - * $Id$ - */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#include -#if defined(RTEMS_NEWLIB) - -#include -#include -#include -#include -/* #include */ - -#include - -pid_t tcgetprgrp(int fd) -{ - return getpid(); -} - -#endif -- cgit v1.2.3