diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-17 15:19:17 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1997-06-17 15:19:17 -0300 |
commit | 732ef82c72993cad6b5701a50be1c0753e5cc973 (patch) | |
tree | efedcc4e75561ca56943f8705d6fc81b9c59a6c2 /undump.c | |
parent | 2a1da648722470998c52f5ac39d765e45acd3756 (diff) | |
download | lua-732ef82c72993cad6b5701a50be1c0753e5cc973.tar.gz lua-732ef82c72993cad6b5701a50be1c0753e5cc973.tar.bz2 lua-732ef82c72993cad6b5701a50be1c0753e5cc973.zip |
"luaI_undump1" cannot be static; luac uses it.
Diffstat (limited to 'undump.c')
-rw-r--r-- | undump.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -3,7 +3,7 @@ | |||
3 | ** load bytecodes from files | 3 | ** load bytecodes from files |
4 | */ | 4 | */ |
5 | 5 | ||
6 | char* rcs_undump="$Id: undump.c,v 1.24 1997/06/13 11:08:47 lhf Exp $"; | 6 | char* rcs_undump="$Id: undump.c,v 1.23 1997/06/16 16:50:22 roberto Exp roberto $"; |
7 | 7 | ||
8 | #include <stdio.h> | 8 | #include <stdio.h> |
9 | #include <string.h> | 9 | #include <string.h> |
@@ -301,7 +301,7 @@ static void LoadChunk(ZIO* Z) | |||
301 | ** load one chunk from a file. | 301 | ** load one chunk from a file. |
302 | ** return list of functions found, headed by main, or NULL at EOF. | 302 | ** return list of functions found, headed by main, or NULL at EOF. |
303 | */ | 303 | */ |
304 | static TFunc* luaI_undump1(ZIO* Z) | 304 | TFunc* luaI_undump1(ZIO* Z) |
305 | { | 305 | { |
306 | int c=zgetc(Z); | 306 | int c=zgetc(Z); |
307 | if (c==ID_CHUNK) | 307 | if (c==ID_CHUNK) |