diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-08-16 17:52:00 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 1999-08-16 17:52:00 -0300 |
commit | c787dccd9b5c3e55547a2c4bb598c0276de65034 (patch) | |
tree | c4cdf2f7319fee48e048472a2044119f541e8da2 /lmathlib.c | |
parent | b44e35b773bcaa9891d80a117392911ab5f656e5 (diff) | |
download | lua-c787dccd9b5c3e55547a2c4bb598c0276de65034.tar.gz lua-c787dccd9b5c3e55547a2c4bb598c0276de65034.tar.bz2 lua-c787dccd9b5c3e55547a2c4bb598c0276de65034.zip |
"const" !!!
Diffstat (limited to 'lmathlib.c')
-rw-r--r-- | lmathlib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lmathlib.c,v 1.16 1999/02/19 17:33:35 roberto Exp roberto $ | 2 | ** $Id: lmathlib.c,v 1.17 1999/07/07 17:54:08 roberto Exp roberto $ |
3 | ** Lua standard mathematical library | 3 | ** Lua standard mathematical library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -164,7 +164,7 @@ static void math_randomseed (void) { | |||
164 | } | 164 | } |
165 | 165 | ||
166 | 166 | ||
167 | static struct luaL_reg mathlib[] = { | 167 | static const struct luaL_reg mathlib[] = { |
168 | {"abs", math_abs}, | 168 | {"abs", math_abs}, |
169 | {"sin", math_sin}, | 169 | {"sin", math_sin}, |
170 | {"cos", math_cos}, | 170 | {"cos", math_cos}, |