From e52ded18095ec2f2ad513828c3cd7b815158d21a Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 23 Apr 2004 20:41:42 +0000 Subject: [PATCH] Use __attribute_used__. --- sysdeps/unix/sysv/linux/m68k/register-dump.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sysdeps/unix/sysv/linux/m68k/register-dump.h b/sysdeps/unix/sysv/linux/m68k/register-dump.h index bece6d5..a7ac3ca 100644 --- a/sysdeps/unix/sysv/linux/m68k/register-dump.h +++ b/sysdeps/unix/sysv/linux/m68k/register-dump.h @@ -1,5 +1,5 @@ /* Dump registers. - Copyright (C) 1998, 2002 Free Software Foundation, Inc. + Copyright (C) 1998, 2002, 2004 Free Software Foundation, Inc. This file is part of the GNU C Library. Contributed by Andreas Schwab . @@ -48,7 +48,7 @@ /* static */ void catch_segfault (int, int, struct sigcontext *); /* Dummy function so that we can use asm with arguments. */ -static void __attribute__ ((unused)) +static void __attribute_used__ __dummy__ (void) { asm ("\n\ @@ -64,7 +64,7 @@ catch_segfault:\n\ : : "n" (offsetof (struct sigcontext, sc_fpstate))); } #define catch_segfault(a,b) \ - __attribute__ ((unused)) real_catch_segfault(a,b) + __attribute_used__ real_catch_segfault(a,b) static void hexvalue (unsigned long int value, char *buf, size_t len) -- 2.7.4