Skip to content

Commit

Permalink
Fix silly warning
Browse files Browse the repository at this point in the history
  • Loading branch information
tbodt committed Oct 29, 2023
1 parent 8abbc2e commit 26aa1a8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions util/sync.h
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ static inline void write_wrunlock(wrlock_t *lock) {

extern __thread sigjmp_buf unwind_buf;
extern __thread bool should_unwind;
static inline int sigunwind_start() {
static inline int sigunwind_start(void) {
if (sigsetjmp(unwind_buf, 1)) {
should_unwind = false;
return 1;
Expand All @@ -168,7 +168,7 @@ static inline int sigunwind_start() {
return 0;
}
}
static inline void sigunwind_end() {
static inline void sigunwind_end(void) {
should_unwind = false;
}

Expand Down

0 comments on commit 26aa1a8

Please sign in to comment.