*-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: webserver-dsc.c,v 1.2 2007/08/30 14:39:18 matsutsuka Exp $
* $Id: webserver-dsc.c,v 1.3 2007/09/06 01:36:12 matsutsuka Exp $
*
*/
#include "sys/dsc.h"
extern static struct ctk_icon webserver_icon;
/*-----------------------------------------------------------------------------------*/
DSC(webserver_dsc,
"The Contiki web server",
"webserver.prg",
webserver_process,
&webserver_icon);
/*-----------------------------------------------------------------------------------*/
#if CTK_CONF_ICON_BITMAPS
static unsigned char webservericon_bitmap[3*3*8] = {
@ -72,3 +65,9 @@ static struct ctk_icon webserver_icon =
{CTK_ICON("Web server", webservericon_bitmap, webservericon_textmap)};
#endif /* CTK_CONF_ICONS */
/*-----------------------------------------------------------------------------------*/
DSC(webserver_dsc,
"The Contiki web server",
"webserver.prg",
webserver_process,
&webserver_icon);
/*-----------------------------------------------------------------------------------*/