Changeset ead79688 in rtems


Ignore:
Timestamp:
Sep 15, 2009, 5:32:49 AM (10 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
9e14ca2
Parents:
37008d0
Message:

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

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.
Location:
cpukit
Files:
2 edited
1 moved

Legend:

Unmodified
Added
Removed
  • cpukit/ChangeLog

    r37008d0 read79688  
     12009-09-15      Ralf Corsépius <ralf.corsepius@rtems.org>
     2
     3        PR 1441/cpukit
     4        * libcsupport/src/tcgetprgrp.c: Remove.
     5        * libcsupport/src/tcgetpgrp.c: New (Renamed from
     6          libcsupport/src/tcgetprgrp.c).
     7        * libcsupport/Makefile.am: Add libcsupport/src/tcgetpgrp.c.
     8          Remove libcsupport/src/tcgetprgrp.c.
     9
    1102009-09-15      Ralf Corsépius <ralf.corsepius@rtems.org>
    211
  • cpukit/libcsupport/Makefile.am

    r37008d0 read79688  
    5151TERMIOS_C_FILES = src/cfgetispeed.c src/cfgetospeed.c src/cfsetispeed.c \
    5252    src/cfsetospeed.c src/tcgetattr.c src/tcsetattr.c src/tcdrain.c \
    53     src/tcflow.c src/tcflush.c src/tcgetprgrp.c src/tcsendbreak.c \
     53    src/tcflow.c src/tcflush.c src/tcgetpgrp.c src/tcsendbreak.c \
    5454    src/tcsetpgrp.c src/termios.c src/termiosinitialize.c \
    5555    src/termios_baud2index.c src/termios_baud2num.c src/termios_num2baud.c \
  • cpukit/libcsupport/src/tcgetpgrp.c

    r37008d0 read79688  
    1616#endif
    1717
    18 #include <rtems.h>
    19 #if defined(RTEMS_NEWLIB)
     18#if defined(RTEMS_NEWLIB) && !defined(HAVE_TCGETPGRP)
    2019
    2120#include <sys/types.h>
    22 #include <sys/stat.h>
    23 #include <errno.h>
    24 #include <termios.h>
    25 /* #include <sys/ioctl.h> */
     21#include <unistd.h>
    2622
    27 #include <rtems/libio.h>
    28 
    29 pid_t tcgetprgrp(int fd)
     23pid_t tcgetpgrp(int fd __attribute__((unused)))
    3024{
    3125  return getpid();
Note: See TracChangeset for help on using the changeset viewer.