Skip to content
Snippets Groups Projects
Commit 30ad7775 authored by patacongo's avatar patacongo
Browse files

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
parent b1bc3463
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment