mirror of
https://github.com/apache/nuttx.git
synced 2026-09-13 06:00:17 +00:00
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:
parent
b1bc346305
commit
30ad777538
1 changed files with 18 additions and 1 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue