mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-23 01:29:33 +00:00
Optimized to work with logging turned off.
This commit is contained in:
parent
382603b581
commit
2bcabc061d
@ -30,7 +30,7 @@
|
||||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: log.c,v 1.2 2007/12/08 21:47:26 oliverschmidt Exp $
|
||||
* $Id: log.c,v 1.3 2007/12/08 22:34:59 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#include <stdio.h>
|
||||
@ -39,11 +39,13 @@
|
||||
#include "sys/log.h"
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
#if UIP_LOGGING
|
||||
void
|
||||
uip_log(char *message)
|
||||
{
|
||||
fprintf(stderr, "%s\n", message);
|
||||
}
|
||||
#endif /* UIP_LOGGING */
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
#if LOG_CONF_ENABLED
|
||||
void
|
||||
|
Loading…
Reference in New Issue
Block a user