From 000d081fd0966ba8f39178186d30319df37d631f Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Thu, 6 Jun 2002 15:17:33 -0300 Subject: warnings from other compilers --- lopcodes.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'lopcodes.h') diff --git a/lopcodes.h b/lopcodes.h index fbdec4cf..95b5b373 100644 --- a/lopcodes.h +++ b/lopcodes.h @@ -1,5 +1,5 @@ /* -** $Id: lopcodes.h,v 1.96 2002/05/06 15:51:41 roberto Exp roberto $ +** $Id: lopcodes.h,v 1.97 2002/05/13 13:09:00 roberto Exp roberto $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ @@ -216,10 +216,9 @@ extern const lu_byte luaP_opmodes[NUM_OPCODES]; #define testOpMode(m, b) (luaP_opmodes[m] & (1 << (b))) -/* -** opcode names (only included when compiled with LUA_OPNAMES) -*/ -extern const char *const luaP_opnames[]; +#ifdef LUA_OPNAMES +extern const char *const luaP_opnames[]; /* opcode names */ +#endif -- cgit v1.2.3-55-g6feb