Roberto Ierusalimschy 25 years ago
parent
commit
aabefe9d68
2 changed files with 5 additions and 5 deletions
  1. 3 3
      lbuiltin.c
  2. 2 2
      lbuiltin.h

+ 3 - 3
lbuiltin.c

@@ -1,5 +1,5 @@
 /*
-** $Id: lbuiltin.c,v 1.88 1999/12/27 13:04:53 roberto Exp roberto $
+** $Id: lbuiltin.c,v 1.89 1999/12/27 17:33:22 roberto Exp roberto $
 ** Built-in functions
 ** See Copyright Notice in lua.h
 */
@@ -94,7 +94,7 @@ static Hash *gettable (lua_State *L, int arg) {
 ** If your system does not support "stderr", redefine this function, or
 ** redefine _ERRORMESSAGE so that it won't need _ALERT.
 */
-void luaB__alert (lua_State *L) {
+void luaB__ALERT (lua_State *L) {
   fputs(luaL_check_string(L, 1), stderr);
 }
 
@@ -609,7 +609,7 @@ void luaB_sort (lua_State *L) {
 
 
 static const struct luaL_reg builtin_funcs[] = {
-  {"_ALERT", luaB__alert},
+  {"_ALERT", luaB__ALERT},
   {"_ERRORMESSAGE", luaB__ERRORMESSAGE},
   {"call", luaB_call},
   {"collectgarbage", luaB_collectgarbage},

+ 2 - 2
lbuiltin.h

@@ -1,5 +1,5 @@
 /*
-** $Id: lbuiltin.h,v 1.3 1999/12/14 18:33:29 roberto Exp roberto $
+** $Id: lbuiltin.h,v 1.4 1999/12/27 17:33:22 roberto Exp roberto $
 ** Built-in functions
 ** See Copyright Notice in lua.h
 */
@@ -9,7 +9,7 @@
 
 #include "lua.h"
 
-void luaB__alert (lua_State *L);
+void luaB__ALERT (lua_State *L);
 void luaB__ERRORMESSAGE (lua_State *L);
 void luaB_print (lua_State *L);
 void luaB_tonumber (lua_State *L);