Include dummy for posix function missing in cc65 C-library.
This commit is contained in:
parent
0ed29ca43f
commit
0eb7106bd2
1 changed files with 7 additions and 1 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.5 2007/11/20 21:24:43 oliverschmidt Exp $
|
* $Id: contiki-main.c,v 1.6 2007/11/24 13:02:27 oliverschmidt Exp $
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -56,6 +56,12 @@ log_message(const char *part1, const char *part2)
|
||||||
fprintf(stderr, "%s%s\n", part1, part2);
|
fprintf(stderr, "%s%s\n", part1, part2);
|
||||||
}
|
}
|
||||||
/*-----------------------------------------------------------------------------------*/
|
/*-----------------------------------------------------------------------------------*/
|
||||||
|
long int
|
||||||
|
lseek(void)
|
||||||
|
{
|
||||||
|
return -1;
|
||||||
|
}
|
||||||
|
/*-----------------------------------------------------------------------------------*/
|
||||||
void
|
void
|
||||||
main(void)
|
main(void)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue