diff options
Diffstat (limited to 'newlib/libc/posix/creat.c')
-rw-r--r-- | newlib/libc/posix/creat.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/posix/creat.c b/newlib/libc/posix/creat.c index 116f26c..fab8073 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); |