diff options
Diffstat (limited to 'cpukit/libcsupport')
-rw-r--r-- | cpukit/libcsupport/Makefile.am | 2 | ||||
-rw-r--r-- | cpukit/libcsupport/src/creat.c | 21 |
2 files changed, 1 insertions, 22 deletions
diff --git a/cpukit/libcsupport/Makefile.am b/cpukit/libcsupport/Makefile.am index a92d440d2d..090ca0b0f1 100644 --- a/cpukit/libcsupport/Makefile.am +++ b/cpukit/libcsupport/Makefile.am @@ -66,7 +66,7 @@ SYSTEM_CALL_C_FILES = src/open.c src/close.c src/read.c src/write.c \ src/chdir.c src/chmod.c src/fchdir.c src/fchmod.c src/fchown.c src/chown.c \ src/link.c src/unlink.c src/umask.c src/ftruncate.c src/utime.c src/fstat.c \ src/fcntl.c src/fpathconf.c src/getdents.c src/fsync.c src/fdatasync.c \ - src/pipe.c src/dup.c src/dup2.c src/symlink.c src/readlink.c src/creat.c \ + src/pipe.c src/dup.c src/dup2.c src/symlink.c src/readlink.c \ src/chroot.c src/sync.c src/_rename_r.c src/statvfs.c src/utimes.c src/lchown.c ## Until sys/uio.h is moved to libcsupport, we have to have networking diff --git a/cpukit/libcsupport/src/creat.c b/cpukit/libcsupport/src/creat.c deleted file mode 100644 index 46fd4b5b60..0000000000 --- a/cpukit/libcsupport/src/creat.c +++ /dev/null @@ -1,21 +0,0 @@ -/* - * $Id$ - */ - -/* creat() "system call" */ - -#if HAVE_CONFIG_H -#include "config.h" -#endif - -#ifndef HAVE_CREAT -/* This is needed by f2c and therefore the SPEC benchmarks. */ - -#include <fcntl.h> - -int -creat (const char *path, mode_t mode) -{ - return open (path, O_WRONLY | O_CREAT | O_TRUNC, mode); -} -#endif |