aboutsummaryrefslogtreecommitdiff
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
commitc40d0d10b1f6de7bce1155e555136220f29be0dc (patch)
treea07adc8dcc958df06cf0e9c8b5fd9d3f3d78fbe0 /gdb/top.c
parent8d8cb83962680274c9408b652b507bc563f143d7 (diff)
downloadgdb-c40d0d10b1f6de7bce1155e555136220f29be0dc.zip
gdb-c40d0d10b1f6de7bce1155e555136220f29be0dc.tar.gz
gdb-c40d0d10b1f6de7bce1155e555136220f29be0dc.tar.bz2
* 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 e282b2e..c072d96 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