aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic/open.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/open.c')
-rw-r--r--sysdeps/generic/open.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/sysdeps/generic/open.c b/sysdeps/generic/open.c
index f4778b905a..c9ea902447 100644
--- a/sysdeps/generic/open.c
+++ b/sysdeps/generic/open.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 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
@@ -21,6 +21,8 @@
#include <stdarg.h>
#include <stddef.h>
+#undef __open
+
/* Open FILE with access OFLAG. If OFLAG includes O_CREAT,
a third argument is the file protection. */
int
@@ -49,5 +51,6 @@ __open (file, oflag)
}
stub_warning (open)
+INTDEF(__open)
weak_alias (__open, open)
#include <stub-tag.h>