summaryrefslogtreecommitdiff
path: root/src/trade.c
diff options
context:
space:
mode:
authorMarcus Huderle <huderlem@gmail.com>2018-04-09 11:14:37 -0700
committerGitHub <noreply@github.com>2018-04-09 11:14:37 -0700
commit84c5825c8ecc9804313ec3b1a8dcc0271ee4c2cc (patch)
treec90f705e43f2b1728ed1e0400312b7d6c5c81c21 /src/trade.c
parent562dcc4bcdc14d5b6c0bb2a638410156945cdd41 (diff)
parent91f869d1e6ed1ef12ad4b2255d3762e3b1b51429 (diff)
Merge pull request #589 from PikalaxALT/unk_debug_menu_3
Unk Debug Menu 3 and Start Menu Debug
Diffstat (limited to 'src/trade.c')
-rw-r--r--src/trade.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/trade.c b/src/trade.c
index a05bddee4..3245ec5b0 100644
--- a/src/trade.c
+++ b/src/trade.c
@@ -1492,7 +1492,7 @@ static void sub_8048B0C(u8 a0)
#pragma pop_macro("BLOCKSIZE")
#else
asm(".include \"constants/gba_constants.inc\"");
-__attribute__((naked))
+NAKED
static void sub_8048B0C(u8 a0)
{
asm_unified("\tpush {r4-r7,lr}\n"
@@ -2488,7 +2488,7 @@ static void sub_8049ED4(u8 a0)
}
}
#else
-__attribute__((naked))
+NAKED
static void sub_8049ED4(u8 a0)
{
asm_unified("\tpush {r4-r7,lr}\n"
@@ -3055,7 +3055,7 @@ static void sub_804A41C(u8 whichParty)
}
}
#else
-__attribute__((naked))
+NAKED
static void sub_804A41C(u8 whichParty)
{
asm_unified("\tpush {r4-r7,lr}\n"
@@ -3250,7 +3250,7 @@ static void sub_804A6DC(u8 whichParty)
}
}
#else
-__attribute__((naked))
+NAKED
static void sub_804A6DC(u8 whichParty)
{
asm_unified("\tpush {r4-r7,lr}\n"
@@ -3561,7 +3561,7 @@ static void sub_804ACF4(u8 who)
}
}
#else
-static __attribute__((naked)) void sub_804ACF4(u8 who)
+static NAKED void sub_804ACF4(u8 who)
{
asm_unified("\tpush {r4-r7,lr}\n"
"\tmov r7, r9\n"
@@ -3869,7 +3869,7 @@ static void sub_804B1BC(void)
}
}
#else
-__attribute__((naked)) static void sub_804B1BC(void)
+NAKED static void sub_804B1BC(void)
{
asm_unified("\tpush {lr}\n"
"\tldr r1, _0804B1FC @ =REG_BG1VOFS\n"
@@ -4113,7 +4113,7 @@ static void sub_804B41C(void)
UpdatePaletteFade();
}
#else
-static __attribute__((naked)) void sub_804B41C(void)
+static NAKED void sub_804B41C(void)
{
asm_unified("\tpush {r4-r6,lr}\n"
"\tsub sp, 0x4\n"