Skip to content

Commit

Permalink
Merge pull request schismtracker#354 from vcaputo/noreturn
Browse files Browse the repository at this point in the history
schism: drop NORETURN attribute use
  • Loading branch information
jangler authored Feb 27, 2023
2 parents 584a939 + a01687b commit dce49a9
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 7 deletions.
6 changes: 0 additions & 6 deletions include/util.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -69,9 +66,6 @@
# ifndef PACKED
# define PACKED
# endif
# ifndef NORETURN
# define NORETURN
# endif
# ifndef LIKELY
# define LIKELY(x)
# endif
Expand Down
1 change: 0 additions & 1 deletion schism/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit dce49a9

Please sign in to comment.