diff options
Diffstat (limited to 'ltable.c')
-rw-r--r-- | ltable.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -662,7 +662,8 @@ static Node *getfreepos (Table *t) { | |||
662 | ** put new key in its main position; otherwise (colliding node is in its main | 662 | ** put new key in its main position; otherwise (colliding node is in its main |
663 | ** position), new key goes to an empty position. | 663 | ** position), new key goes to an empty position. |
664 | */ | 664 | */ |
665 | void luaH_newkey (lua_State *L, Table *t, const TValue *key, TValue *value) { | 665 | static void luaH_newkey (lua_State *L, Table *t, const TValue *key, |
666 | TValue *value) { | ||
666 | Node *mp; | 667 | Node *mp; |
667 | TValue aux; | 668 | TValue aux; |
668 | if (l_unlikely(ttisnil(key))) | 669 | if (l_unlikely(ttisnil(key))) |