diff --git a/examples/uip/main.c b/examples/uip/main.c index 39620006901..6bc6418bff8 100644 --- a/examples/uip/main.c +++ b/examples/uip/main.c @@ -70,7 +70,24 @@ # include #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;