From 2add546d00092960019d04fbf343c5f03009a1cf Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Fri, 15 Feb 2008 17:31:44 +0000 Subject: [PATCH] Improve consistency if WITH_LOADER_ARCH is 0. --- apps/program-handler/program-handler.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/program-handler/program-handler.c b/apps/program-handler/program-handler.c index 8448cb566..532e9bd87 100644 --- a/apps/program-handler/program-handler.c +++ b/apps/program-handler/program-handler.c @@ -43,7 +43,7 @@ * * This file is part of the Contiki desktop OS * - * $Id: program-handler.c,v 1.9 2008/02/08 22:51:57 oliverschmidt Exp $ + * $Id: program-handler.c,v 1.10 2008/02/15 17:31:44 oliverschmidt Exp $ * */ @@ -120,12 +120,6 @@ static struct ctk_label errortype = static struct ctk_button errorokbutton = {CTK_BUTTON(9, 7, 2, "Ok")}; -#endif /* WITH_LOADER_ARCH */ - -PROCESS(program_handler_process, "Program handler"); - -AUTOSTART_PROCESSES(&program_handler_process); - static const char * const errormsgs[] = { "Ok", "Read error", @@ -137,9 +131,15 @@ static const char * const errormsgs[] = { "No loader" }; +#endif /* WITH_LOADER_ARCH */ + #define LOADER_EVENT_LOAD 1 #define LOADER_EVENT_DISPLAY_NAME 2 +PROCESS(program_handler_process, "Program handler"); + +AUTOSTART_PROCESSES(&program_handler_process); + static char *displayname; #if CTK_CONF_SCREENSAVER