mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-12-22 10:30:13 +00:00
Added lseek dummy.
This commit is contained in:
parent
fa956117f7
commit
86bd7e9829
@ -30,7 +30,7 @@
|
||||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: contiki-main.c,v 1.17 2008/02/28 21:36:37 oliverschmidt Exp $
|
||||
* $Id: contiki-main.c,v 1.18 2008/07/06 07:37:34 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#include "contiki-net.h"
|
||||
@ -58,6 +58,12 @@ PROCINIT(&etimer_process,
|
||||
|
||||
void clock_update(void);
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
off_t __fastcall__
|
||||
lseek(int, off_t, int)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
void
|
||||
main(void)
|
||||
|
@ -30,7 +30,7 @@
|
||||
*
|
||||
* Author: Oliver Schmidt <ol.sc@web.de>
|
||||
*
|
||||
* $Id: contiki-main.c,v 1.4 2008/02/28 21:56:47 oliverschmidt Exp $
|
||||
* $Id: contiki-main.c,v 1.5 2008/07/06 07:34:34 oliverschmidt Exp $
|
||||
*/
|
||||
|
||||
#include <string.h>
|
||||
@ -59,20 +59,26 @@ PROCINIT(&etimer_process,
|
||||
&tcpip_process);
|
||||
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
void *
|
||||
opendir(void)
|
||||
off_t __fastcall__
|
||||
lseek(int, off_t, int)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
void * __fastcall__
|
||||
opendir(void *)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
void *
|
||||
readdir(void)
|
||||
void * __fastcall__
|
||||
readdir(void *)
|
||||
{
|
||||
return NULL;
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
void
|
||||
closedir(void)
|
||||
void __fastcall__
|
||||
closedir(void *)
|
||||
{
|
||||
}
|
||||
/*-----------------------------------------------------------------------------------*/
|
||||
|
Loading…
Reference in New Issue
Block a user