Skip to content

Commit

Permalink
Add extern to be compatible with changes in gcc-10, as it changed to (#4
Browse files Browse the repository at this point in the history
  • Loading branch information
Hnefi authored Nov 23, 2021
1 parent 4571d94 commit 22fe101
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pth_mctx.c
Original file line number Diff line number Diff line change
Expand Up @@ -106,9 +106,9 @@ struct pth_mctx_st {

/* Msutherl: Parameters to swap out when compiled using address sanitizer
* These params are only used when --enable-asan requested from autoconf. */
void *fake_stack_save;
const void *from_stack;
size_t from_stacksize;
extern void *fake_stack_save;
extern const void *from_stack;
extern size_t from_stacksize;

/* Functions that wrap __sanitizer_start_fiber_switch as well as __sanitizer_end_fiber_switch,
* as well as debugging prints if compiled in
Expand Down

0 comments on commit 22fe101

Please sign in to comment.