X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftimothy_tests%2Frunning_out_of_handles_error%2Fyaffs_tester.h;fp=direct%2Ftimothy_tests%2Frunning_out_of_handles_error%2Fyaffs_tester.h;h=30d5caa173b97462b3def7b621f28fb3463552a6;hp=ad68d297e5b280bf072dd8e5acef25f24976fa51;hb=ef24b90a2e00a9a3db2bab70261807037ccc0bd7;hpb=86231ed7a8ebecf2e4821f9b426262045f941591 diff --git a/direct/timothy_tests/running_out_of_handles_error/yaffs_tester.h b/direct/timothy_tests/running_out_of_handles_error/yaffs_tester.h index ad68d29..30d5caa 100644 --- a/direct/timothy_tests/running_out_of_handles_error/yaffs_tester.h +++ b/direct/timothy_tests/running_out_of_handles_error/yaffs_tester.h @@ -18,7 +18,9 @@ #include #include - +#include +#include + #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 );