2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>

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.
This commit is contained in:
Ralf Corsepius
2009-09-15 06:01:12 +00:00
parent ab514445be
commit 986f353e4a
3 changed files with 10 additions and 35 deletions

View File

@@ -1,3 +1,12 @@
2009-09-15 Ralf Corsépius <ralf.corsepius@rtems.org>
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 Ralf Corsépius <ralf.corsepius@rtems.org>
* libcsupport/include/rtems/assoc.h,

View File

@@ -51,7 +51,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/termios_baud2index.c src/termios_baud2num.c src/termios_num2baud.c \
src/termios_setinitialbaud.c

View File

@@ -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 <rtems.h>
#if defined(RTEMS_NEWLIB)
#include <sys/types.h>
#include <sys/stat.h>
#include <errno.h>
#include <termios.h>
/* #include <sys/ioctl.h> */
#include <rtems/libio.h>
pid_t tcgetprgrp(int fd)
{
return getpid();
}
#endif