From 9e809ef5a4ced7c63cacfbbdd9b6dcd8f2064c75 Mon Sep 17 00:00:00 2001 From: oliverschmidt Date: Sun, 31 Jan 2010 12:48:46 +0000 Subject: [PATCH] Provide optional prototypes for all three keyboard input related functions. --- core/ctk/ctk.c | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/core/ctk/ctk.c b/core/ctk/ctk.c index 3e45fe918..28980f3a0 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.24 2009/02/28 10:43:30 oliverschmidt Exp $ + * $Id: ctk.c,v 1.25 2010/01/31 12:48:46 oliverschmidt Exp $ * */ @@ -100,8 +100,16 @@ static unsigned char iconx, icony; #define ICONY_MAX height #endif /* CTK_CONF_ICONS */ +#ifndef ctk_arch_keyavail +unsigned char ctk_arch_keyavail(void); +#endif /* ctk_arch_keyavail */ + +#ifndef ctk_arch_getkey +ctk_arch_key_t ctk_arch_getkey(void); +#endif /* ctk_arch_getkey */ + #ifndef ctk_arch_isprint -unsigned char ctk_arch_isprint(char c); +unsigned char ctk_arch_isprint(ctk_arch_key_t key); #endif /* ctk_arch_isprint */ PROCESS(ctk_process, "CTK Contiki GUI");