Added lseek dummy.

This commit is contained in:
oliverschmidt 2008-07-06 07:28:42 +00:00
parent c9a8eea371
commit c00de08dec

View file

@ -30,7 +30,7 @@
* *
* Author: Oliver Schmidt <ol.sc@web.de> * Author: Oliver Schmidt <ol.sc@web.de>
* *
* $Id: contiki-main.c,v 1.19 2008/02/28 21:57:09 oliverschmidt Exp $ * $Id: contiki-main.c,v 1.20 2008/07/06 07:28:42 oliverschmidt Exp $
*/ */
#include <string.h> #include <string.h>
@ -59,20 +59,26 @@ PROCINIT(&etimer_process,
&tcpip_process); &tcpip_process);
/*-----------------------------------------------------------------------------------*/ /*-----------------------------------------------------------------------------------*/
void * off_t __fastcall__
opendir(void) lseek(int, off_t, int)
{
return 0;
}
/*-----------------------------------------------------------------------------------*/
void * __fastcall__
opendir(void *)
{ {
return NULL; return NULL;
} }
/*-----------------------------------------------------------------------------------*/ /*-----------------------------------------------------------------------------------*/
void * void * __fastcall__
readdir(void) readdir(void *)
{ {
return NULL; return NULL;
} }
/*-----------------------------------------------------------------------------------*/ /*-----------------------------------------------------------------------------------*/
void void __fastcall__
closedir(void) closedir(void *)
{ {
} }
/*-----------------------------------------------------------------------------------*/ /*-----------------------------------------------------------------------------------*/