(svn r15392) -Codechange: move the spec getter to a place where it's only required, without the use of extern

This commit is contained in:
belugas
2009-02-07 02:38:32 +00:00
parent 73d7438610
commit 82cbfb7dfa
3 changed files with 15 additions and 6 deletions

View File

@@ -21,11 +21,5 @@ struct UnmovableSpec {
};
extern const UnmovableSpec _original_unmovable[];
static inline const UnmovableSpec *GetUnmovableSpec(UnmovableType type)
{
return &_original_unmovable[type];
}
#endif /* UNMOVABLE_H */