Fixed function prototype so that it compiles again...

This commit is contained in:
adamdunkels 2009-02-25 09:01:38 +00:00
parent 40003196ef
commit 669bf3743e
2 changed files with 5 additions and 5 deletions

View file

@ -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);
{
}

View file

@ -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