diff options
Diffstat (limited to 'main.c')
-rw-r--r-- | main.c | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -23,13 +23,6 @@ app_t app; -void cleanup() { - static int in = 0; - - if (!in++) - app_quit(&app); -} - int main(int argc, char **argv) { // TODO: parse cmd line arguments properly @@ -42,3 +35,10 @@ int main(int argc, char **argv) { return 0; } + +void cleanup() { + static int in = 0; + + if (!in++) + app_quit(&app); +} |