diff --git a/core/ctk/ctk.c b/core/ctk/ctk.c index 6cc4cbeb0..b6fe9872b 100644 --- a/core/ctk/ctk.c +++ b/core/ctk/ctk.c @@ -44,7 +44,7 @@ * * This file is part of the Contiki operating system. * - * $Id: ctk.c,v 1.19 2009/02/24 21:30:02 adamdunkels Exp $ + * $Id: ctk.c,v 1.20 2009/02/25 09:01:38 adamdunkels Exp $ * */ @@ -1168,8 +1168,8 @@ activate(CC_REGISTER_ARG struct ctk_widget *w) /* Dummy function that we define to keep sdcc happy - with sdcc, function pointers cannot be NULL. ctk_textentry_input is typedef'd in ctk/ctk.h, hence the strange-looking function signature. */ -ctk_textentry_input -ctk_textentry_input_null +unsigned char +ctk_textentry_input_null(ctk_arch_key_t c, struct ctk_textentry *t); { } diff --git a/core/ctk/ctk.h b/core/ctk/ctk.h index 00ed13d83..c4907eb3e 100644 --- a/core/ctk/ctk.h +++ b/core/ctk/ctk.h @@ -43,7 +43,7 @@ * * This file is part of the Contiki desktop OS. * - * $Id: ctk.h,v 1.7 2009/02/24 21:30:02 adamdunkels Exp $ + * $Id: ctk.h,v 1.8 2009/02/25 09:01:38 adamdunkels Exp $ * */ @@ -290,7 +290,7 @@ struct ctk_textentry { /* Dummy function that we define to keep sdcc happy - with sdcc, function pointers cannot be NULL.*/ -ctk_textentry_input ctk_textentry_input_null; +unsigned char ctk_textentry_input_null(ctk_arch_key_t c, struct ctk_textentry *t); #if CTK_CONF_ICON_BITMAPS #define CTK_ICON_BITMAP(bitmap) bitmap