Provide optional prototypes for all three keyboard input related functions.

This commit is contained in:
oliverschmidt 2010-01-31 12:48:46 +00:00
parent 0ebe86802c
commit 9e809ef5a4

View file

@ -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");