From 64a4e7bc513009bd402aafc9feb26f7d77a637fa Mon Sep 17 00:00:00 2001 From: "hyunghwan.chung" Date: Fri, 12 Oct 2018 09:16:44 +0000 Subject: [PATCH] put 'static' to internal functions --- moo/lib/exec.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/moo/lib/exec.c b/moo/lib/exec.c index 12f4955..6618511 100644 --- a/moo/lib/exec.c +++ b/moo/lib/exec.c @@ -1620,7 +1620,7 @@ static MOO_INLINE int activate_new_method (moo_t* moo, moo_oop_method_t mth, moo return 0; } -MOO_INLINE moo_oop_method_t find_method_in_class (moo_t* moo, moo_oop_class_t _class, int mth_type, const moo_oocs_t* name) +static MOO_INLINE moo_oop_method_t find_method_in_class (moo_t* moo, moo_oop_class_t _class, int mth_type, const moo_oocs_t* name) { moo_oop_association_t ass; moo_oop_dic_t mthdic; @@ -1645,7 +1645,7 @@ MOO_INLINE moo_oop_method_t find_method_in_class (moo_t* moo, moo_oop_class_t _c return MOO_NULL; } -MOO_INLINE moo_oop_method_t find_method_in_class_chain (moo_t* moo, moo_oop_class_t _class, int mth_type, const moo_oocs_t* name) +static MOO_INLINE moo_oop_method_t find_method_in_class_chain (moo_t* moo, moo_oop_class_t _class, int mth_type, const moo_oocs_t* name) { moo_oop_method_t mth;