summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
author[email protected] <[email protected]>2012-08-02 13:56:15 +0000
committer[email protected] <[email protected]>2012-08-02 13:56:15 +0000
commitbc7e8d69e6252e4fdf393559072be955fc44f58c (patch)
treea144ec171fb40d1e683dda7cbb008cd0cb52f3c4 /components
parentf6df9adbb246d7397c0241edf9e22eca67b233e5 (diff)
correct the return type of nfs_init
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@2245 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'components')
-rw-r--r--components/init/components_init.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/components/init/components_init.c b/components/init/components_init.c
index b9414d3f6e..b5b30e936c 100644
--- a/components/init/components_init.c
+++ b/components/init/components_init.c
@@ -79,7 +79,7 @@ void rt_components_init(void)
#endif
#if defined(RT_USING_DFS_NFS) && defined(RT_USING_LWIP)
- extern void nfs_init(void);
+ extern int nfs_init(void);
/* initialize NFSv3 client file system */
nfs_init();
#endif