From 1689a95c5a085be22fb77b19c1d22101ab7974e5 Mon Sep 17 00:00:00 2001 From: lifehackerhansol Date: Sat, 23 Sep 2023 13:34:36 -0700 Subject: [PATCH] mk5n: use `inline` instead of `__inline` --- staging/mk5n/source/iointerface.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/staging/mk5n/source/iointerface.c b/staging/mk5n/source/iointerface.c index 04c7fa3..e5cacf9 100644 --- a/staging/mk5n/source/iointerface.c +++ b/staging/mk5n/source/iointerface.c @@ -72,14 +72,12 @@ void cardreadpage(unsigned int addr,unsigned int dst,unsigned char cmd,unsigned } while (REG_ROMCTRL & 0x80000000); } -__inline -void cardreadpage_B7(unsigned int addr,unsigned int dst) +inline void cardreadpage_B7(unsigned int addr,unsigned int dst) { cardreadpage(addr,dst,0xB7,*(vu32*)0x027FFE60); } -__inline -void cardreadpage_D2(unsigned int addr,unsigned int dst) +inline void cardreadpage_D2(unsigned int addr,unsigned int dst) { cardreadpage(addr,dst,0xD2,CARD_CR2_D2); }