aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/fegetenv.c5
-rw-r--r--sysdeps/generic/open64.c5
2 files changed, 6 insertions, 4 deletions
diff --git a/sysdeps/generic/fegetenv.c b/sysdeps/generic/fegetenv.c
index 4b30754249..7ae42e23ef 100644
--- a/sysdeps/generic/fegetenv.c
+++ b/sysdeps/generic/fegetenv.c
@@ -20,6 +20,7 @@
#include <fenv.h>
#include <shlib-compat.h>
+#include <bp-sym.h>
int
fegetenv (fenv_t *envp)
@@ -29,9 +30,9 @@ fegetenv (fenv_t *envp)
}
#if SHLIB_COMPAT (libm, GLIBC_2_1, GLIBC_2_2)
strong_alias (__fegetenv, __old_fegetenv)
-compat_symbol (libm, __old_fegetenv, fegetenv, GLIBC_2_1);
+compat_symbol (libm, BP_SYM (__old_fegetenv), BP_SYM (fegetenv), GLIBC_2_1);
#endif
-versioned_symbol (libm, __fegetenv, fegetenv, GLIBC_2_2);
+versioned_symbol (libm, BP_SYM (__fegetenv), BP_SYM (fegetenv), GLIBC_2_2);
stub_warning (fegetenv)
#include <stub-tag.h>
diff --git a/sysdeps/generic/open64.c b/sysdeps/generic/open64.c
index c90b00c7cd..4145615b15 100644
--- a/sysdeps/generic/open64.c
+++ b/sysdeps/generic/open64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997, 1999 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 1999, 2000 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,7 @@
#include <fcntl.h>
#include <stdarg.h>
#include <stddef.h>
+#include <bp-sym.h>
/* Open FILE with access OFLAG. If OFLAG includes O_CREAT,
a third argument is the file protection. */
@@ -48,7 +49,7 @@ __libc_open64 (file, oflag)
return -1;
}
strong_alias (__libc_open64, __open64)
-weak_alias (__libc_open64, open64)
+weak_alias (__libc_open64, BP_SYM (open64))
stub_warning (open64)
#include <stub-tag.h>