]> git.ipfire.org Git - thirdparty/glibc.git/blobdiff - sysdeps/mach/hurd/open.c
Update.
[thirdparty/glibc.git] / sysdeps / mach / hurd / open.c
index 01efe73cbffaa871a037c8558d29ac2b0625cca7..3ca9a72c84fba8ab9793d23dbe9e4e06e256acf5 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (C) 1992,93,94,95,97,2000 Free Software Foundation, Inc.
+/* Copyright (C) 1992,93,94,95,97,2000,2002 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -22,6 +22,9 @@
 #include <hurd.h>
 #include <hurd/fd.h>
 
+#undef __libc_open
+#undef __open
+
 /* Open FILE with access OFLAG.  If OFLAG includes O_CREAT,
    a third argument is the file protection.  */
 int
@@ -47,5 +50,6 @@ __libc_open (const char *file, int oflag, ...)
   return _hurd_intern_fd (port, oflag, 1);
 }
 
+INTDEF2(__libc_open, __open)
 weak_alias (__libc_open, __open)
 weak_alias (__libc_open, open)