Optimized non-logging scenario.

This commit is contained in:
oliverschmidt 2007-12-20 20:49:59 +00:00
parent 878f56837d
commit 2c45596f5c

View file

@ -30,7 +30,7 @@
*
* Author: Oliver Schmidt <ol.sc@web.de>
*
* $Id: config.c,v 1.3 2007/12/16 13:10:14 oliverschmidt Exp $
* $Id: config.c,v 1.4 2007/12/20 20:49:59 oliverschmidt Exp $
*/
#include <fcntl.h>
@ -44,6 +44,7 @@
#include "net/ethernet-drv.h"
/*-----------------------------------------------------------------------------------*/
#if LOG_CONF_ENABLED
static char *
ipaddrtoa(uip_ipaddr_t *ipaddr, char *buffer)
{
@ -58,6 +59,7 @@ ipaddrtoa(uip_ipaddr_t *ipaddr, char *buffer)
return buffer + 1;
}
#endif /* LOG_CONF_ENABLED */
/*-----------------------------------------------------------------------------------*/
struct ethernet_config *
config_read(char *filename)