Fixed build for coldfire after last debug.h and opt.h changes.

This commit is contained in:
davidhaas 2003-02-25 21:46:24 +00:00
parent d5be11334f
commit a9749edff8
3 changed files with 11 additions and 13 deletions

View File

@ -36,7 +36,7 @@
#define _5272FEC_H 1
void
err_t
mcf5272fecif_init(struct netif *netif);

View File

@ -756,7 +756,7 @@ etharp_timer_init(void *arg)
* Note that there is only one fec in a 5272!
*
*/
void
err_t
mcf5272fecif_init(struct netif *netif)
{
sys_sem_t sem;
@ -785,12 +785,10 @@ mcf5272fecif_init(struct netif *netif)
sys_sem_wait(sem);
sys_sem_free(sem);
return ERR_OK;
}
/*
else
Give some error message if we are out of memory
*/
return ERR_MEM;
}
/*-----------------------------------------------------------------------------------*/

View File

@ -198,6 +198,6 @@ a lot of data that needs to be copied, this should be set high. */
#endif /* STATS */
#define LWIP_COMPAT_SOCKETS
#define LWIP_PROVIDE_ERRNO
#define LWIP_COMPAT_SOCKETS 1
#define LWIP_PROVIDE_ERRNO 1
#endif /* __LWIPOPTS_H__ */