From 9c8c4898f78252ca189d44f9640411c44957fd8d Mon Sep 17 00:00:00 2001 From: fros4943 Date: Fri, 27 Feb 2009 16:06:25 +0000 Subject: [PATCH] updating cooja cfs stubs according to recent commits --- platform/cooja/cfs/cfs-cooja.c | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/platform/cooja/cfs/cfs-cooja.c b/platform/cooja/cfs/cfs-cooja.c index 7081f5764..331d120c7 100644 --- a/platform/cooja/cfs/cfs-cooja.c +++ b/platform/cooja/cfs/cfs-cooja.c @@ -28,7 +28,7 @@ * * This file is part of the Contiki operating system. * - * $Id: cfs-cooja.c,v 1.7 2008/02/11 18:40:16 fros4943 Exp $ + * $Id: cfs-cooja.c,v 1.8 2009/02/27 16:06:25 fros4943 Exp $ */ #include #include "lib/simEnvChange.h" @@ -103,7 +103,7 @@ cfs_write(int f, const void *buf, unsigned int len) } /*---------------------------------------------------------------------------*/ unsigned int -cfs_seek(int f, unsigned int o) +cfs_seek(int f, unsigned int o, int w) { if(f == FLAG_FILE_OPEN) { file.fileptr = o; @@ -114,6 +114,12 @@ cfs_seek(int f, unsigned int o) } /*---------------------------------------------------------------------------*/ int +cfs_remove(const char *name) +{ + return -1; +} +/*---------------------------------------------------------------------------*/ +int cfs_opendir(struct cfs_dir *p, const char *n) { return 1;