summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/frv/dl-iterate-phdr.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/frv/dl-iterate-phdr.c')
-rw-r--r--libc/sysdeps/linux/frv/dl-iterate-phdr.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/frv/dl-iterate-phdr.c b/libc/sysdeps/linux/frv/dl-iterate-phdr.c
index ebb3b9c4a..144e4c145 100644
--- a/libc/sysdeps/linux/frv/dl-iterate-phdr.c
+++ b/libc/sysdeps/linux/frv/dl-iterate-phdr.c
@@ -16,10 +16,9 @@ License along with the GNU C Library; see the file COPYING.LIB. If
not, write to the Free Software Foundation, Inc., 675 Mass Ave,
Cambridge, MA 02139, USA. */
-#define _GNU_SOURCE
#include <link.h>
-extern int __attribute__((__weak__))
+extern int weak_function
__dl_iterate_phdr (int (*callback) (struct dl_phdr_info *info,
size_t size, void *data),
void *data);