If toolchain doesn't have weak symbols, must provide user_initialize()

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@349 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2007-09-21 00:37:49 +00:00
parent b1bc346305
commit 30ad777538

View File

@ -70,7 +70,24 @@
# include <net/uip/webclient.h>
#endif
int user_start(int argc, char *argv[])
/************************************************************
* user_initialize
************************************************************/
#ifndef CONFIG_HAVE_WEAKFUNCTIONS
void user_initialize(void)
{
/* Stub that must be provided only if the toolchain does
* not support weak functions.
*/
}
#endif
/************************************************************
* user_start
************************************************************/
int user_start(int argc, char *argv[])
{
struct in_addr addr;
uip_ipaddr_t ipaddr;