From: Bart Van Assche Date: Mon, 3 Mar 2008 20:40:51 +0000 (+0000) Subject: Compiles now with gcc 2.96 too. X-Git-Tag: svn/VALGRIND_3_4_0~969 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=99e2db56318609a73a920c0fb998e7885421c277;p=thirdparty%2Fvalgrind.git Compiles now with gcc 2.96 too. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@7550 --- diff --git a/coregrind/m_debuginfo/readdwarf3.c b/coregrind/m_debuginfo/readdwarf3.c index b7fa2c2f71..53f078d7e6 100644 --- a/coregrind/m_debuginfo/readdwarf3.c +++ b/coregrind/m_debuginfo/readdwarf3.c @@ -153,7 +153,7 @@ typedef UChar* region_start_img; UWord region_szB; UWord region_next; - __attribute__((noreturn)) void (*barf)( HChar* ); + void (*barf)( HChar* ) __attribute__((noreturn)); HChar* barfstr; } Cursor; @@ -371,7 +371,7 @@ static ULong get_Initial_Length ( /*OUT*/Bool* is64, typedef struct { /* Call here if anything goes wrong */ - __attribute__((noreturn)) void (*barf)( HChar* ); + void (*barf)( HChar* ) __attribute__((noreturn)); /* Is this 64-bit DWARF ? */ Bool is_dw64; /* Which DWARF version ? (2 or 3) */