This define is handled by ansidecl.h, so no need to duplicate effort.
+2021-05-14  Mike Frysinger  <vapier@gentoo.org>
+
+       * callback.h (error): Replace __attribute__ with ATTRIBUTE_NORETURN.
+
 2021-05-14  Mike Frysinger  <vapier@gentoo.org>
 
        * callback.h: Delete va_start define check.
 
   /* Print an error message and "exit".
      In the case of gdb "exiting" means doing a longjmp back to the main
      command loop.  */
-  void (*error) (host_callback *, const char *, ...)
-#ifdef __GNUC__
-    __attribute__ ((__noreturn__))
-#endif
-    ;
+  void (*error) (host_callback *, const char *, ...) ATTRIBUTE_NORETURN;
 
   int last_errno;              /* host format */