diff options
| author | qiuyiuestc <[email protected]> | 2010-09-20 00:02:11 +0000 |
|---|---|---|
| committer | qiuyiuestc <[email protected]> | 2010-09-20 00:02:11 +0000 |
| commit | a8eff5c9657df3441eb5ea6bfbf56f69fc7c6b93 (patch) | |
| tree | 4dc8e538ee024b28f9753a26b8c30accf2af7c35 /src/module.c | |
| parent | 446799244a2b796dbcd83bf8e557aff4ebaadc7d (diff) | |
fix object create error
git-svn-id: https://rt-thread.googlecode.com/svn/trunk@916 bbd45198-f89e-11dd-88c7-29a3b14d5316
Diffstat (limited to 'src/module.c')
| -rw-r--r-- | src/module.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/module.c b/src/module.c index 44a0081d54..2fb704534a 100644 --- a/src/module.c +++ b/src/module.c @@ -35,7 +35,7 @@ #define IS_AX(s) ((s.sh_flags & SHF_ALLOC) && (s.sh_flags & SHF_EXECINSTR)) #define IS_AW(s) ((s.sh_flags & SHF_ALLOC) && (s.sh_flags & SHF_WRITE)) -static struct rt_module* rt_current_module; +static struct rt_module* rt_current_module = RT_NULL; /** * This function will return self module object |
