Skip to content

Commit

Permalink
Fix last strict prototype error
Browse files Browse the repository at this point in the history
  • Loading branch information
mattfidler committed Oct 7, 2022
1 parent 5c19673 commit 8375e82
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/lr.c
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ static int itemcmp(const void *ai, const void *aj) {
return (i > j) ? 1 : ((i < j) ? -1 : 0);
}

static State *new_state() {
static State *new_state(void) {
State *s = MALLOC(sizeof(State));
memset(s, 0, sizeof(State));
return s;
Expand Down

0 comments on commit 8375e82

Please sign in to comment.