X-Git-Url: http://www.aleph1.co.uk/gitweb/?p=yaffs2.git;a=blobdiff_plain;f=direct%2Ftests%2Fnor_stress.c;fp=direct%2Ftests%2Fnor_stress.c;h=20df8372ac8722e195f85f7fc7c0bc8000266705;hp=6f6b4ce583c74fee117a81d5fe041b3a98510797;hb=70c6bf2ff57c8a2fb778accdd5b4227abf273674;hpb=e33554a67753729f6b74677473cf0ec3b8d35a7e diff --git a/direct/tests/nor_stress.c b/direct/tests/nor_stress.c index 6f6b4ce..20df837 100644 --- a/direct/tests/nor_stress.c +++ b/direct/tests/nor_stress.c @@ -258,7 +258,7 @@ static void dump_directory_tree(const char *dname) static unsigned xx[XX_SIZE]; -static int yWriteFile(const char *fname, unsigned sz32) +static int y_wr_file(const char *fname, unsigned sz32) { int h; int r; @@ -317,7 +317,7 @@ WRITE_ERROR: } -static int yVerifyFile(const char *fName) +static int y_verify_file(const char *fName) { unsigned checksum = 0; unsigned totalSize; @@ -400,7 +400,7 @@ static void DoUpdateMainFile(void) int sz32; sz32 = (myrand() % 1000) + 20; - result = yWriteFile(fullTempMainName,sz32); + result = y_wr_file(fullTempMainName,sz32); FSX(); if(!no_verification && result) FatalError(__LINE__); @@ -414,7 +414,7 @@ static void DoVerifyMainFile(void) int result; if(no_verification) return; - result = yVerifyFile(fullMainName); + result = y_verify_file(fullMainName); if(result) FatalError(__LINE__);