*-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:
parent
ee76163a8c
commit
582a7476d4
32 changed files with 224 additions and 256 deletions
|
@ -29,19 +29,12 @@
|
|||
*
|
||||
* This file is part of the Contiki desktop environment
|
||||
*
|
||||
* $Id: netconf-dsc.c,v 1.2 2007/08/30 14:39:18 matsutsuka Exp $
|
||||
* $Id: netconf-dsc.c,v 1.3 2007/09/06 01:36:11 matsutsuka Exp $
|
||||
*
|
||||
*/
|
||||
|
||||
#include "sys/dsc.h"
|
||||
|
||||
extern static struct ctk_icon netconf_icon;
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
DSC(netconf_dsc,
|
||||
"Network configuration",
|
||||
"netconf.prg",
|
||||
netconf_process,
|
||||
&netconf_icon);
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
#if CTK_CONF_ICON_BITMAPS
|
||||
static unsigned char tcpipconficon_bitmap[3*3*8] = {
|
||||
|
@ -72,3 +65,9 @@ static struct ctk_icon netconf_icon =
|
|||
{CTK_ICON("Network setup", tcpipconficon_bitmap, tcpipconficon_textmap)};
|
||||
#endif /* CTK_CONF_ICONS */
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
DSC(netconf_dsc,
|
||||
"Network configuration",
|
||||
"netconf.prg",
|
||||
netconf_process,
|
||||
&netconf_icon);
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue