summaryrefslogtreecommitdiff
path: root/components/dfs/include
diff options
context:
space:
mode:
author[email protected] <[email protected]>2011-05-16 00:29:28 +0000
committer[email protected] <[email protected]>2011-05-16 00:29:28 +0000
commitc99ca774a1fc441cf4f24a48a565ccd564d55cf0 (patch)
treeb1449d661531e472297745ac1fbacdd7085f9d2a /components/dfs/include
parent7a6949f248d3f1139825451a672bc41d9efc6d52 (diff)
Modify the link mode, compile each component to static library first and then link them
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@1405 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components/dfs/include')
-rw-r--r--components/dfs/include/dfs_posix.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/components/dfs/include/dfs_posix.h b/components/dfs/include/dfs_posix.h
index 1a8e179cbe..ad4d3fc167 100644
--- a/components/dfs/include/dfs_posix.h
+++ b/components/dfs/include/dfs_posix.h
@@ -10,7 +10,8 @@
* Change Logs:
* Date Author Notes
* 2009-05-27 Yi.qiu The first version.
- * 2010-07-18 Bernard add stat and statfs structure definitions.
+ * 2010-07-18 Bernard add stat and statfs structure definitions.
+ * 2011-05-16 Yi.qiu Change parameter name of rename, "new" is C++ key word.
*/
#ifndef __DFS_POSIX_H__
#define __DFS_POSIX_H__
@@ -100,7 +101,7 @@ int close(int d);
int read(int fd, void *buf, size_t len);
int write(int fd, const void *buf, size_t len);
off_t lseek(int fd, off_t offset, int whence);
-int rename(const char* old, const char* new );
+int rename(const char *from, const char *to);
int unlink(const char *pathname);
int stat(const char *file, struct stat *buf);
int fstat(int fildes, struct stat *buf);