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:
@@ -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");
|
||||
|
||||
Reference in New Issue
Block a user