Use common log implementation for cc65 targets.
This commit is contained in:
parent
18d591206e
commit
ef55496de0
2 changed files with 2 additions and 26 deletions
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||||
*
|
*
|
||||||
* $Id: contiki-main.c,v 1.9 2007/11/25 22:21:19 oliverschmidt Exp $
|
* $Id: contiki-main.c,v 1.10 2007/11/27 16:50:02 oliverschmidt Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -43,18 +43,6 @@ PROCINIT(&etimer_process,
|
||||||
|
|
||||||
void clock_update(void);
|
void clock_update(void);
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------------*/
|
|
||||||
void
|
|
||||||
uip_log(char *message)
|
|
||||||
{
|
|
||||||
fprintf(stderr, "%s\n", message);
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------------------------------*/
|
|
||||||
void
|
|
||||||
log_message(const char *part1, const char *part2)
|
|
||||||
{
|
|
||||||
fprintf(stderr, "%s%s\n", part1, part2);
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
long int
|
long int
|
||||||
lseek(void)
|
lseek(void)
|
||||||
|
|
|
@ -30,7 +30,7 @@
|
||||||
*
|
*
|
||||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||||
*
|
*
|
||||||
* $Id: contiki-main.c,v 1.9 2007/11/25 22:19:49 oliverschmidt Exp $
|
* $Id: contiki-main.c,v 1.10 2007/11/27 16:51:55 oliverschmidt Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -41,18 +41,6 @@
|
||||||
PROCINIT(&etimer_process,
|
PROCINIT(&etimer_process,
|
||||||
&tcpip_process);
|
&tcpip_process);
|
||||||
|
|
||||||
/*-----------------------------------------------------------------------------------*/
|
|
||||||
void
|
|
||||||
uip_log(char *message)
|
|
||||||
{
|
|
||||||
fprintf(stderr, "%s\n", message);
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------------------------------*/
|
|
||||||
void
|
|
||||||
log_message(const char *part1, const char *part2)
|
|
||||||
{
|
|
||||||
fprintf(stderr, "%s%s\n", part1, part2);
|
|
||||||
}
|
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
long int
|
long int
|
||||||
lseek(void)
|
lseek(void)
|
||||||
|
|
Loading…
Reference in a new issue