Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYaakov Selkowitz <yselkowi@redhat.com>2017-12-04 08:58:31 +0300
committerYaakov Selkowitz <yselkowi@redhat.com>2018-01-17 20:47:30 +0300
commit7192f840966684d4460542a516278ca08dd14842 (patch)
treeef7c9f4eeeed6163e2faa9098525e4744fdf82b1 /newlib/libc/syscalls
parent70ee6b17df9b055a05cdcc4d3fe1813d7b57e2d8 (diff)
ansification: remove _HAVE_STDC
Signed-off-by: Yaakov Selkowitz <yselkowi@redhat.com>
Diffstat (limited to 'newlib/libc/syscalls')
-rw-r--r--newlib/libc/syscalls/sysopen.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/newlib/libc/syscalls/sysopen.c b/newlib/libc/syscalls/sysopen.c
index 4d1a29953..bc8d9d59f 100644
--- a/newlib/libc/syscalls/sysopen.c
+++ b/newlib/libc/syscalls/sysopen.c
@@ -3,7 +3,6 @@
#include <reent.h>
#include <fcntl.h>
-#ifdef _HAVE_STDC
/* The prototype in <fcntl.h> uses ..., so we must correspond. */
@@ -22,15 +21,3 @@ open (const char *file,
return ret;
}
-#else /* ! _HAVE_STDC */
-
-int
-open (file, flags, mode)
- const char *file;
- int flags;
- int mode;
-{
- return _open_r (_REENT, file, flags, mode);
-}
-
-#endif /* ! _HAVE_STDC */