aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/unix/sysv
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-04-14 20:12:24 +0000
committerUlrich Drepper <drepper@redhat.com>2002-04-14 20:12:24 +0000
commit0e36d9d57ee268a304016fed53ca1432c328ba9b (patch)
tree69c6ff14a97500b32f4e9c4e2600da297dacc46c /sysdeps/unix/sysv
parentd0a1614c810e7aee52bacd5f99733d49680ff21d (diff)
downloadglibc-0e36d9d57ee268a304016fed53ca1432c328ba9b.tar
glibc-0e36d9d57ee268a304016fed53ca1432c328ba9b.tar.gz
glibc-0e36d9d57ee268a304016fed53ca1432c328ba9b.tar.bz2
glibc-0e36d9d57ee268a304016fed53ca1432c328ba9b.zip
Use INTDEF for __open.
Diffstat (limited to 'sysdeps/unix/sysv')
-rw-r--r--sysdeps/unix/sysv/aix/open.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sysdeps/unix/sysv/aix/open.c b/sysdeps/unix/sysv/aix/open.c
index 4116c4ebdc..c41c708564 100644
--- a/sysdeps/unix/sysv/aix/open.c
+++ b/sysdeps/unix/sysv/aix/open.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1999, 2000 Free Software Foundation, Inc.
+/* Copyright (C) 1999, 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
@@ -20,6 +20,9 @@
#include <stdarg.h>
#include <unistd.h>
+#undef __libc_open
+#undef __open
+
int
__open (const char *file, int oflag, ...)
{
@@ -36,3 +39,4 @@ __open (const char *file, int oflag, ...)
return open (file, oflag, mode);
}
strong_alias (__open, __libc_open)
+INTDEF(__open)