From 544fd8371854dcfd51c92f5ae1da7a8c3085156f Mon Sep 17 00:00:00 2001 From: Bert Date: Tue, 18 Jan 2011 15:33:25 +0100 Subject: Reordered function definitions --- main.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'main.c') diff --git a/main.c b/main.c index a4f9add..9959657 100644 --- a/main.c +++ b/main.c @@ -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); +} -- cgit v1.2.3