Get timothy quick tests building cleanly.
[yaffs2.git] / direct / test-framework / timothy_tests / quick_tests / test_yaffs_unmount2_with_handle_open_and_forced_mode_on.c
index 5a20f88b9df3e55b60f5fae6d0a188fae58930c0..dc852077f8a39f67ec6459df0e31770df823c779 100644 (file)
  */
 
 #include "test_yaffs_unmount2_with_handle_open_and_forced_mode_on.h"
+#include "test_yaffs_open.h"
 
 int test_yaffs_unmount2_with_handle_open_and_forced_mode_on(void)
 {
        int output = -1;
-       int error_code =0;
+
        output=test_yaffs_open();
        if (output<0) {
                print_message("failed to open file\n",2);