[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index]
[Thread Index]
- Subject: Re: Update #4 to Lua 5.1-work3 loadlib cleanups
- From: Mike Pall <mikelu-0412@...>
- Date: Thu, 23 Dec 2004 19:09:31 +0100
Hi,
I wrote:
> this is the fourth update to the cumulative loadlib patch.
Oops. Forgot 'static' in a few places. Delta made with diff -U 0 appended.
Bye,
Mike
--- lua-5.1-work3-loadlib4/src/lib/loadlib.c 2004-12-23 01:28:57.000000000 +0100
+++ lua-5.1-work3-loadlib4a/src/lib/loadlib.c 2004-12-23 18:47:13.647231480 +0100
@@ -31 +31 @@
-* void *ll_load(lua_State *L, const char *path) { ... }
+* static void *ll_load(lua_State *L, const char *path) { ... }
@@ -36 +36 @@
-* void ll_unload(lua_State *L, void *lib) { ... }
+* static void ll_unload(lua_State *L, void *lib) { ... }
@@ -40 +40 @@
-* lua_CFunction ll_sym(lua_State *L, void *lib, const char *sym) { ... }
+* static lua_CFunction ll_sym(lua_State *L, void *lib, const char *sym) { ... }
@@ -66 +66 @@
-lua_CFunction ll_sym(lua_State *L, void *lib, const char *sym) {
+static lua_CFunction ll_sym(lua_State *L, void *lib, const char *sym) {
@@ -103 +103 @@
-lua_CFunction ll_sym(lua_State *L, void *lib, const char *sym) {
+static lua_CFunction ll_sym(lua_State *L, void *lib, const char *sym) {
@@ -195 +195 @@
-void ll_unload(lua_State *L, void *lib) {
+static void ll_unload(lua_State *L, void *lib) {
@@ -202 +202 @@
-lua_CFunction ll_sym(lua_State *L, void *lib, const char *sym) {
+static lua_CFunction ll_sym(lua_State *L, void *lib, const char *sym) {