Skip to content

Commit

Permalink
More build fixes.
Browse files Browse the repository at this point in the history
  • Loading branch information
brndnmtthws committed Dec 21, 2018
1 parent 164dd04 commit c745f6c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/bin/tolua.c
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,9 @@ static void add_extra(lua_State *L, const char *value)
lua_pop(L, 1);
}

[[noreturn]] static void error(char *o)
static void error(char *o) __attribute__((noreturn));

static void error(char *o)
{
fprintf(stderr, "tolua: unknown option '%s'\n", o);
help();
Expand Down

0 comments on commit c745f6c

Please sign in to comment.