Changeset 5418890 in rtems


Ignore:
Timestamp:
09/13/18 04:22:21 (6 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
5, master
Children:
1ad43f8
Parents:
242887bc
git-author:
Sebastian Huber <sebastian.huber@…> (09/13/18 04:22:21)
git-committer:
Sebastian Huber <sebastian.huber@…> (10/04/18 06:02:28)
Message:

Remove superfluous pipe_create()

Location:
cpukit
Files:
1 deleted
3 edited

Legend:

Unmodified
Added
Removed
  • cpukit/include/rtems/pipe.h

    r242887bc r5418890  
    5454#endif
    5555} pipe_control_t;
    56 
    57 /**
    58  * @brief Create an anonymous pipe.
    59  *
    60  * Called by pipe() to create an anonymous pipe.
    61  */
    62 extern int pipe_create(
    63   int filsdes[2]
    64 );
    6556
    6657/**
  • cpukit/libcsupport/Makefile.am

    r242887bc r5418890  
    4141    src/link.c src/unlink.c src/umask.c src/ftruncate.c src/utime.c src/fstat.c \
    4242    src/fcntl.c src/fpathconf.c src/getdents.c src/fsync.c src/fdatasync.c \
    43     src/pipe.c src/dup.c src/dup2.c src/symlink.c src/readlink.c \
     43    src/dup.c src/dup2.c src/symlink.c src/readlink.c \
    4444    src/chroot.c src/sync.c src/_rename_r.c src/statvfs.c src/utimes.c src/lchown.c
    4545SYSTEM_CALL_C_FILES += src/clock.c
  • cpukit/libfs/src/pipe/pipe.c

    r242887bc r5418890  
    2929static uint16_t rtems_pipe_no = 0;
    3030
    31 int pipe_create(
     31int pipe(
    3232  int filsdes[2]
    3333)
     
    3535  rtems_libio_t *iop;
    3636  int err = 0;
     37
     38  if (filsdes == NULL)
     39    rtems_set_errno_and_return_minus_one( EFAULT );
    3740
    3841  if (rtems_mkdir("/tmp", S_IRWXU | S_IRWXG | S_IRWXO) != 0)
Note: See TracChangeset for help on using the changeset viewer.