summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@bauklotz.fritz.box>2016-08-13 00:11:31 +0200
committererdgeist <erdgeist@bauklotz.fritz.box>2016-08-13 00:11:31 +0200
commit5f1fb7e7684310ebfe27467a15af132c709eaeb4 (patch)
tree3f18105cb1f616f1b783175e5c10bcab5e0ed630
parent2b760eea998034ae06b2f285273a343d2a5de0bc (diff)
Move config object to config.c
-rw-r--r--config.c4
-rw-r--r--main-sdl.c3
2 files changed, 4 insertions, 3 deletions
diff --git a/config.c b/config.c
index 3aeee4f..47506d5 100644
--- a/config.c
+++ b/config.c
@@ -92,6 +92,10 @@ static keyword keywords[] = {
92}; 92};
93 93
94static int g_current_string; 94static int g_current_string;
95StringConfig
96 g_string_conf[MAX_LINECOUNT];
97int g_string_count;
98
95 99
96static int 100static int
97config_findkeyword(char **line) 101config_findkeyword(char **line)
diff --git a/main-sdl.c b/main-sdl.c
index bb31720..ac44526 100644
--- a/main-sdl.c
+++ b/main-sdl.c
@@ -24,9 +24,6 @@
24// const int g_width = 1024, g_height = 768; 24// const int g_width = 1024, g_height = 768;
25const int g_width = 800, g_height = 600; 25const int g_width = 800, g_height = 600;
26 26
27StringConfig
28g_string_conf[MAX_LINECOUNT];
29int g_string_count;
30int g_harfe_connected = 0; 27int g_harfe_connected = 0;
31int g_harfe_fd = -1; 28int g_harfe_fd = -1;
32 29