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:
Diffstat (limited to 'newlib/libc/posix/creat.c')
-rw-r--r--newlib/libc/posix/creat.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/posix/creat.c b/newlib/libc/posix/creat.c
index 116f26ce3..fab807375 100644
--- a/newlib/libc/posix/creat.c
+++ b/newlib/libc/posix/creat.c
@@ -5,8 +5,7 @@
#include <fcntl.h>
int
-_DEFUN(creat, (path, mode),
- const char *path,
+creat (const char *path,
mode_t mode)
{
return open (path, O_WRONLY | O_CREAT | O_TRUNC, mode);