summary refs log tree commit diff
path: root/io/creat.c
diff options
context:
space:
mode:
Diffstat (limited to 'io/creat.c')
-rw-r--r--io/creat.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/io/creat.c b/io/creat.c
index c03810d962..b281fa2ba4 100644
--- a/io/creat.c
+++ b/io/creat.c
@@ -23,9 +23,7 @@
 
 /* Create FILE with protections MODE.  */
 int
-creat (file, mode)
-     const char *file;
-     mode_t mode;
+creat (const char *file, mode_t mode)
 {
   return __open (file, O_WRONLY|O_CREAT|O_TRUNC, mode);
 }