From: matze Date: Sat, 28 Jul 2007 18:12:02 +0000 (+0000) Subject: extern var X-Git-Tag: rgb2rv6~98 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=4498457aecc0fa9ffe24102788a9fcaa97cdfd19;p=c128-kasse extern var git-svn-id: https://shell.noname-ev.de/svn/kasse/c128@11 af93e077-1a23-4f1e-9cbe-9382a9d578f5 --- diff --git a/config.c b/config.c index d9edd7c..259e937 100644 --- a/config.c +++ b/config.c @@ -1,5 +1,9 @@ #include "config.h" +unsigned long int money = 0; +unsigned long int num_items = 0; +unsigned long int items_sold = 0; + void load_config(); void load_items(){ diff --git a/config.h b/config.h index 6838e83..bea5c17 100644 --- a/config.h +++ b/config.h @@ -2,9 +2,9 @@ #define CONFIG_H_ /* Eingenommes Geld in Cent */ -unsigned long int money = 0; -unsigned long int num_items = 0; -unsigned long int items_sold = 0; +extern unsigned long int money; +extern unsigned long int num_items; +extern unsigned long int items_sold; /* Datenstruktur der verkauften Einträge */