diff options
author | Paul Gilbert | 2019-06-20 22:20:59 -0700 |
---|---|---|
committer | Paul Gilbert | 2019-06-22 14:40:50 -0700 |
commit | 8f75589971d70b2ca749d5389a332e6761213a5b (patch) | |
tree | 4ddb7bba2a1040c5b563b89b75ae823182c08a91 /engines/glk/alan2/inter.cpp | |
parent | ad1cecaeac5d54b0973d6c7edce8181cb965ff68 (diff) | |
download | scummvm-rg350-8f75589971d70b2ca749d5389a332e6761213a5b.tar.gz scummvm-rg350-8f75589971d70b2ca749d5389a332e6761213a5b.tar.bz2 scummvm-rg350-8f75589971d70b2ca749d5389a332e6761213a5b.zip |
GLK: ALAN2: Remove all prototype ifdef blocks
Diffstat (limited to 'engines/glk/alan2/inter.cpp')
-rw-r--r-- | engines/glk/alan2/inter.cpp | 63 |
1 files changed, 7 insertions, 56 deletions
diff --git a/engines/glk/alan2/inter.cpp b/engines/glk/alan2/inter.cpp index dd3ee9e0bd..1d52b74acc 100644 --- a/engines/glk/alan2/inter.cpp +++ b/engines/glk/alan2/inter.cpp @@ -42,15 +42,7 @@ namespace Alan2 { static int pc; -#ifdef _PROTOTYPES_ -static void if_( - Aword v -) -#else -static void if_(v) - Aword v; -#endif -{ +static void if_(Aword v) { int lev = 1; Aword i; @@ -75,13 +67,7 @@ static void if_(v) } } - -#ifdef _PROTOTYPES_ -static void else_(void) -#else -static void else_() -#endif -{ +static void else_() { int lev = 1; Aword i; @@ -101,25 +87,13 @@ static void else_() } } - -#ifdef _PROTOTYPES_ -static void depstart(void) -#else -static void depstart(void) -#endif -{ +static void depstart() { /* A DEPSTART was executed so skip across the redundant DEPCASE to start at the first expression */ pc++; } - -#ifdef _PROTOTYPES_ -static void swap(void) -#else -static void swap() -#endif -{ +static void swap() { Aptr v1 = pop(); Aptr v2 = pop(); @@ -127,17 +101,7 @@ static void swap() push(v2); } - - -#ifdef _PROTOTYPES_ -static void depexec( - Aword v -) -#else -static void depexec(v) - Aword v; -#endif -{ +static void depexec(Aword v) { int lev = 1; Aword i; @@ -163,13 +127,7 @@ static void depexec(v) } } - -#ifdef _PROTOTYPES_ -static void depcase(void) -#else -static void depcase() -#endif -{ +static void depcase() { int lev = 1; Aword i; @@ -192,14 +150,7 @@ static void depcase() } } - -#ifdef _PROTOTYPES_ -void interpret(Aaddr adr) -#else -void interpret(adr) - Aaddr adr; -#endif -{ +void interpret(Aaddr adr) { Aaddr oldpc; Aword i; |