Changed empty parameter lists into (void) lists on functions with asm() statements.

The fix avoids any possible problems with how cc65 will handle old-style (K & R) function declarations, in the future.
This commit is contained in:
Greg King
2019-07-16 13:16:02 -04:00
parent 2f3955dbc7
commit 88c6dd2da8
3 changed files with 5 additions and 5 deletions

View File

@@ -9,7 +9,7 @@
static unsigned char flag;
static void trampoline_set() {
static void trampoline_set(void) {
asm("ldy tmp4");
asm("sty %v", flag);
asm("jsr callptr4");