yaffs direct: Move yaffs error string function to diferent directory
[yaffs2.git] / direct / python / yaffs_python_helper.c
index d5a13d5d04113b948c99b0b631937d4443e96526..333ad586d6c2f846a04b2dee021266928f34f0d2 100644 (file)
@@ -26,6 +26,8 @@
 int simulate_power_failure;
 int random_seed;
 
+const char * yaffs_error_to_str(int err);      /*this is not part of yaffs. it is a specialy built file for converting error codes to text*/
+
 int yaffs_print_constants(void)
 {
        printf( "O_CREAT........%d\n",O_CREAT);
@@ -44,8 +46,6 @@ int yaffs_O_WRONLY(void) { return O_WRONLY;}
 int yaffs_O_RDWR(void) { return O_RDWR;}
 int yaffs_O_TRUNC(void) { return O_TRUNC;}
 
-int yaffs_set_trace(unsigned int tm) { return yaffs_trace_mask=tm; }
-int yaffs_get_trace(void) { return yaffs_trace_mask; }
 
 int yaffs_S_IFMT(void){return S_IFMT;}
 int yaffs_S_IFLNK(void){return S_IFLNK;}