author | francesco-ST <francesco.abbate@st.com> | 2010年12月28日 15:34:15 +0100 |
---|---|---|
committer | francesco-ST <francesco.abbate@st.com> | 2010年12月28日 15:34:15 +0100 |
commit | 978986bb98f1ae622be3f430f4e729fbb598afb8 (patch) | |
tree | 34ddc4564341ffa79d025dfdc0673afc34a85db9 /gsl-shell.c | |
parent | 5aee3720742fe153fe5937e0fd7981c1c95cd6cc (diff) | |
download | gsl-shell-978986bb98f1ae622be3f430f4e729fbb598afb8.tar.gz |
-rw-r--r-- | gsl-shell.c | 2 |
diff --git a/gsl-shell.c b/gsl-shell.c index 371f17bc..84fb16d8 100644 --- a/gsl-shell.c +++ b/gsl-shell.c @@ -166,7 +166,7 @@ static void l_message (const char *pname, const char *msg) { } -int error_report (lua_State *L, int status) { +static int error_report (lua_State *L, int status) { if (status && !lua_isnil(L, -1)) { const char *msg = lua_tostring(L, -1); if (msg == NULL) msg = "(error object is not a string)"; |