/TARGET_K64F/TARGET_Freescale/TARGET_KPSDK_MCUS/TARGET_KPSDK_CODE/hal/adc/fsl_adc_hal.h substitute line 894 extern } by }

Fork of mbed by mbed official

Revision:
32:3b05dd009342
Parent:
27:7110ebee3484
Child:
43:e2ed12d17f06
--- a/LocalFileSystem.h	Fri Jan 06 12:02:19 2012 +0000
+++ b/LocalFileSystem.h	Fri Jan 06 16:40:24 2012 +0000
@@ -9,6 +9,32 @@
 
 namespace mbed {
 
+FILEHANDLE local_file_open(const char* name, int flags);
+
+class LocalFileHandle : public FileHandle {
+
+public:
+    LocalFileHandle(FILEHANDLE fh);
+    
+    virtual int close();
+    
+    virtual ssize_t write(const void *buffer, size_t length);
+    
+    virtual ssize_t read(void *buffer, size_t length);
+    
+    virtual int isatty();
+    
+    virtual off_t lseek(off_t position, int whence);
+    
+    virtual int fsync();
+    
+    virtual off_t flen();
+
+protected:
+    FILEHANDLE _fh;
+    int pos;
+};
+
 /* Class: LocalFileSystem
  *  A filesystem for accessing the local mbed Microcontroller USB disk drive 
  *