C90 param, void

This commit is contained in:
Lauri Kasanen
2019-04-14 19:45:53 +03:00
committed by greg-king5
parent a9cbb5305c
commit 654d972288
3 changed files with 5 additions and 4 deletions

View File

@@ -43,7 +43,7 @@ static void act(const unsigned char op) {
return;
}
int main() {
int main(void) {
val = val2 = 0;

View File

@@ -4,7 +4,7 @@ static void foo(void) {
val = 5;
}
static void wrap() {
static void wrap(void) {
asm("lda #<%v", foo);
asm("ldx #>%v", foo);
@@ -12,7 +12,7 @@ static void wrap() {
}
int main() {
int main(void) {
val = 0;
wrap();