From d32b317640d593a4eafd88ebfe23753ec074fe0e Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 23 Apr 2004 20:41:42 +0000 Subject: Use __attribute_used__. --- sysdeps/unix/sysv/linux/m68k/register-dump.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'sysdeps') diff --git a/sysdeps/unix/sysv/linux/m68k/register-dump.h b/sysdeps/unix/sysv/linux/m68k/register-dump.h index bece6d5084..a7ac3ca01c 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) -- cgit v1.2.3