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