*-dsc.c files have been changed to remove forward reference for struct_icon variable, bacause it is strange that this variable is used wholly inside the C source file and declared extern for the forward reference.

This commit is contained in:
matsutsuka 2007-09-06 01:36:10 +00:00
parent ee76163a8c
commit 582a7476d4
32 changed files with 224 additions and 256 deletions

View file

@ -29,19 +29,12 @@
*
* This file is part of the Contiki desktop environment
*
* $Id: shell-dsc.c,v 1.2 2007/08/30 14:39:16 matsutsuka Exp $
* $Id: shell-dsc.c,v 1.3 2007/09/06 01:36:10 matsutsuka Exp $
*
*/
#include "sys/dsc.h"
extern static struct ctk_icon shell_icon;
/*-----------------------------------------------------------------------------------*/
DSC(shell_dsc,
"The Contiki command shell",
"shell.prg",
shell_gui_process,
&shell_icon);
/*-----------------------------------------------------------------------------------*/
#if CTK_CONF_ICON_BITMAPS
static unsigned char shellicon_bitmap[3*3*8] = {
@ -72,3 +65,9 @@ static struct ctk_icon shell_icon =
{CTK_ICON("Command shell", shellicon_bitmap, shellicon_textmap)};
#endif /* CTK_CONF_ICONS */
/*-----------------------------------------------------------------------------------*/
DSC(shell_dsc,
"The Contiki command shell",
"shell.prg",
shell_gui_process,
&shell_icon);
/*-----------------------------------------------------------------------------------*/