yaffs Commiting some more yaffs tests showing bugs in yaffs.
[yaffs2.git] / direct / timothy_tests / dev / yaffs_tester.h
index ad68d297e5b280bf072dd8e5acef25f24976fa51..30d5caa173b97462b3def7b621f28fb3463552a6 100644 (file)
@@ -18,7 +18,9 @@
 
 #include <string.h>
 #include <stdio.h>
-       
+#include <time.h>
+#include <stdlib.h>
+
 #include "yaffsfs.h"   /* it is in "yaffs2/direct/" link it in the Makefile */
 #include "message_buffer.h"
 #include "error_handler.h"
@@ -26,7 +28,7 @@
 
 #define MAX_FILE_NAME_SIZE 51
 
-void init(char *yaffs_test_dir,char *yaffs_mount_dir); /*sets up yaffs and mounts yaffs */
+void init(char *yaffs_test_dir,char *yaffs_mount_dir,int argc, char *argv[]);  /*sets up yaffs and mounts yaffs */
 void test(char *yaffs_test_dir);                               /*contains the test code*/
 void generate_random_string(char *ptr);                                /*generates a random string of letters to be used for a name*/
 void join_paths(char *path1,char *path2,char *newpath );