From 45b173cbf89597123267a69bace778cf498d6c98 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Sat, 21 Jul 2001 21:59:36 -0300 Subject: warnings/details --- liolib.c | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) (limited to 'liolib.c') diff --git a/liolib.c b/liolib.c index 942e9388..0d9c6b3e 100644 --- a/liolib.c +++ b/liolib.c @@ -1,11 +1,10 @@ /* -** $Id: liolib.c,v 1.119 2001/07/12 18:11:58 roberto Exp roberto $ +** $Id: liolib.c,v 1.120 2001/07/16 18:48:31 roberto Exp roberto $ ** Standard I/O (and system) library ** See Copyright Notice in lua.h */ -#include #include #include #include @@ -25,13 +24,6 @@ #endif -#ifndef l_realloc -#define l_malloc(s) malloc(s) -#define l_realloc(b,os,s) realloc(b, s) -#define l_free(b, os) free(b) -#endif - - #ifdef POPEN /* FILE *popen(); @@ -330,7 +322,7 @@ static int io_read (lua_State *L) { success = 1; /* always success */ break; case l_c('w'): /* word */ - lua_error(L, "option `*w' is deprecated"); + lua_error(L, l_s("option `*w' is deprecated")); break; case l_c('u'): { /* read until */ size_t pl = lua_strlen(L, n) - 2; -- cgit v1.2.3-55-g6feb