]> git.sur5r.net Git - c128-kasse/commitdiff
Fix linking of itemz
authorsECuRE <sECuRE@af93e077-1a23-4f1e-9cbe-9382a9d578f5>
Thu, 1 Nov 2007 11:56:22 +0000 (11:56 +0000)
committersECuRE <sECuRE@af93e077-1a23-4f1e-9cbe-9382a9d578f5>
Thu, 1 Nov 2007 11:56:22 +0000 (11:56 +0000)
git-svn-id: https://shell.noname-ev.de/svn/kasse/c128@77 af93e077-1a23-4f1e-9cbe-9382a9d578f5

src/itemz.c

index 4ca702524e0da96488c4899a7671a91e6f4a5d15..fc70c6ff808eee52560c3b5278b5002c3bbc8d4e 100644 (file)
 #include "config.h"
 #include "credit_manager.h"
 
-enum itemz_mode { MODE_ITEMS, MODE_CREDITS };
-
-static enum itemz_mode mode = MODE_ITEMS;
+/* NOTE: dummy entry to fix linking */
+int log_num = 0;
 
 static void itemz_print_screen() {
-       BYTE i, pages;
+       BYTE i;
        char buffer[10];
 
        clrscr();
@@ -117,7 +116,6 @@ static void itemz_manager(){
 }
 
 int main() {
-       char *c;
        if (VIDEOMODE == 40)
                toggle_videomode();
        credits.num_items = 0;