diff --git a/include/util.h b/include/util.h index 7092091f7..806638d33 100644 --- a/include/util.h +++ b/include/util.h @@ -53,9 +53,6 @@ # ifndef UNUSED # define UNUSED __attribute__((unused)) # endif -# ifndef NORETURN -# define NORETURN __attribute__((noreturn)) -# endif # ifndef PACKED # define PACKED __attribute__((packed)) # endif @@ -69,9 +66,6 @@ # ifndef PACKED # define PACKED # endif -# ifndef NORETURN -# define NORETURN -# endif # ifndef LIKELY # define LIKELY(x) # endif diff --git a/schism/main.c b/schism/main.c index 34d4d4c90..fed794545 100644 --- a/schism/main.c +++ b/schism/main.c @@ -594,7 +594,6 @@ static void key_event_reset(struct key_event *kk, int start_x, int start_y) kk->sy = start_y; } -static void event_loop(void) NORETURN; static void event_loop(void) { SDL_Event event;