Skip to content

Commit

Permalink
Provide optional prototypes for all three keyboard input related func…
Browse files Browse the repository at this point in the history
…tions.
  • Loading branch information
oliverschmidt committed Jan 31, 2010
1 parent 0ebe868 commit 9e809ef
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions core/ctk/ctk.c
Original file line number Diff line number Diff line change
Expand Up @@ -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 $
*
*/

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

0 comments on commit 9e809ef

Please sign in to comment.