Skip to content

Commit

Permalink
Merge pull request #336 from kraj/register
Browse files Browse the repository at this point in the history
greenlet: Drop using 'register' storage class keyword
  • Loading branch information
jamadden committed Jan 26, 2023
2 parents e67fd53 + 3be5324 commit 8a6d691
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/greenlet/platform/switch_riscv_unix.h
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
static int
slp_switch(void)
{
register int ret;
register long *stackref, stsizediff;
int ret;
long *stackref, stsizediff;
__asm__ volatile ("" : : : REGS_TO_SAVE);
__asm__ volatile ("mv %0, sp" : "=r" (stackref) : );
{
Expand Down

0 comments on commit 8a6d691

Please sign in to comment.