summaryrefslogtreecommitdiff
path: root/gdb/top.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@gnu.org>2004-08-14 13:37:51 +0000
committerMark Kettenis <kettenis@gnu.org>2004-08-14 13:37:51 +0000
commitca183c17b12d022654cbc4a482600ab8316b2fb6 (patch)
treec4a247d3a4892a114ff7be951456df93b9870d00 /gdb/top.c
parenta0f0ac35d3a674369e7e062336d0d934ea3aba9b (diff)
downloadgdb-ca183c17b12d022654cbc4a482600ab8316b2fb6.tar.gz
* defs.h (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
from declaration. * top.c (deprecated_error_hook): Remove RETURN and ATTR_NORETURN from definition.
Diffstat (limited to 'gdb/top.c')
-rw-r--r--gdb/top.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdb/top.c b/gdb/top.c
index e282b2edf16..c072d965e21 100644
--- a/gdb/top.c
+++ b/gdb/top.c
@@ -290,7 +290,7 @@ void (*deprecated_context_hook) (int id);
/* Takes control from error (). Typically used to prevent longjmps out of the
middle of the GUI. Usually used in conjunction with a catch routine. */
-NORETURN void (*deprecated_error_hook) (void) ATTR_NORETURN;
+void (*deprecated_error_hook) (void);
/* One should use catch_errors rather than manipulating these