Browse Source

fix compiling error

Bernard Xiong 12 years ago
parent
commit
88c9bc2d64
2 changed files with 2 additions and 2 deletions
  1. 2 0
      components/dfs/include/dfs.h
  2. 0 2
      components/dfs/src/dfs.c

+ 2 - 0
components/dfs/include/dfs.h

@@ -21,6 +21,8 @@
 extern "C" {
 #endif
 
+#define NO_WORKING_DIR  "system does not support working directory\n"
+
 char *dfs_normalize_path(const char *directory, const char *filename);
 const char *dfs_subdir(const char *directory, const char *filename);
 

+ 0 - 2
components/dfs/src/dfs.c

@@ -16,8 +16,6 @@
 #include <dfs_fs.h>
 #include <dfs_file.h>
 
-#define NO_WORKING_DIR  "system does not support working directory\n"
-
 /* Global variables */
 const struct dfs_filesystem_operation *filesystem_operation_table[DFS_FILESYSTEM_TYPES_MAX];
 struct dfs_filesystem filesystem_table[DFS_FILESYSTEMS_MAX];