#include <stdio.h>
#include <string.h>
+#include "yaffsfs.h"
+#define ELOOP 10 //the error code ELOOP is not defined yet so I'm making a stand in.
+
#define YAFFS_MOUNT_POINT "/yaffs2/"
#define FILE_NAME "foo"
#define RENAME_DIR_PATH "/yaffs2/dir2"
-#define ELOOP "/yaffs2/ELOOP"
-#define ELOOP2 "/yaffs2/ELOOP2"
+#define ELOOP_PATH "/yaffs2/ELOOP"
+#define ELOOP2_PATH "/yaffs2/ELOOP2"
/* warning do not define anything as FILE because there seems to be a conflict with stdio.h */
#define FILE_PATH "/yaffs2/foo"