Skip to content

Commit

Permalink
Silence remaining warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
lionel- committed Oct 21, 2022
1 parent f17a4fc commit 3509722
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/rlang/stack.h
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ r_obj* r_sys_frame(int n, r_obj* frame);
r_obj* r_sys_call(int n, r_obj* frame);

static inline
void r_yield_interrupt() {
void r_yield_interrupt(void) {
R_CheckUserInterrupt();
}

Expand Down
2 changes: 1 addition & 1 deletion src/subscript-loc.h
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ struct location_opts {
};

static inline
struct location_opts new_location_opts_assign() {
struct location_opts new_location_opts_assign(void) {
return (struct location_opts) {
.subscript_opts = new_subscript_opts_assign()
};
Expand Down
2 changes: 1 addition & 1 deletion src/subscript.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ struct subscript_opts {
};

static inline
struct subscript_opts new_subscript_opts_assign() {
struct subscript_opts new_subscript_opts_assign(void) {
return (struct subscript_opts) {
.action = SUBSCRIPT_ACTION_ASSIGN
};
Expand Down

0 comments on commit 3509722

Please sign in to comment.