error: Remove USE_NORETURN ifdef
diff mbox series

Message ID
State Accepted
Delegated to: Herbert Xu
Headers show
  • error: Remove USE_NORETURN ifdef
Related show

Commit Message

Herbert Xu June 2, 2020, 11:52 a.m. UTC
The USE_NORETURN was added because gcc was buggy almost 20 years
ago.  This is no longer needed and this patch removes it.

Signed-off-by: Herbert Xu <>

diff mbox series

diff --git a/src/error.h b/src/error.h
index 94e30a2..661a8a0 100644
--- a/src/error.h
+++ b/src/error.h
@@ -116,11 +116,7 @@  void __inton(void);
 #define int_pending() intpending
 void exraise(int) __attribute__((__noreturn__));
 void onint(void) __attribute__((__noreturn__));
-void onint(void);
 extern int errlinno;
 void sh_error(const char *, ...) __attribute__((__noreturn__));
 void exerror(int, const char *, ...) __attribute__((__noreturn__));