-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)"; |