* defs.h (deprecated_error_hook): Remove RETURN and ATTR_NORETURN

from declaration.
* top.c (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
from definition.
This commit is contained in:
Mark Kettenis 2004-08-14 13:37:51 +00:00
parent 8d8cb83962
commit c40d0d10b1
3 changed files with 9 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2004-08-14 Mark Kettenis <kettenis@gnu.org>
* defs.h (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
from declaration.
* top.c (deprecated_error_hook): Remove RETURN and ATTR_NORETURN
from definition.
2004-08-13 Mark Kettenis <kettenis@gnu.org>
* configure.in (PTRACE_TYPE_ARG3, PTRACE_TYPE_ARG5): Don't use

View File

@ -1256,7 +1256,7 @@ extern void (*deprecated_call_command_hook) (struct cmd_list_element * c,
extern void (*deprecated_set_hook) (struct cmd_list_element * c);
extern NORETURN void (*deprecated_error_hook) (void) ATTR_NORETURN;
extern void (*deprecated_error_hook) (void);
extern void (*deprecated_error_begin_hook) (void);

View File

@ -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