Removing unwanted "static" attribute in "luaL_reg *lib". Using it
authorniemeyer <devnull@localhost>
Tue, 23 Mar 2004 23:52:45 +0000 (23:52 +0000)
committerniemeyer <devnull@localhost>
Tue, 23 Mar 2004 23:52:45 +0000 (23:52 +0000)
removes the prectability of initalization order in relation to
lualibs.

CVS patchset: 7187
CVS date: 2004/03/23 23:52:45

rpmio/rpmlua.c

index 7092e60..1b30f7b 100644 (file)
@@ -52,7 +52,7 @@ rpmlua rpmluaNew()
        {NULL, NULL},
     };
     /*@observer@*/ /*@unchecked@*/
-    static const luaL_reg *lib = lualibs;
+    const luaL_reg *lib = lualibs;
     /*@=readonlytrans@*/
 
     lua->L = L;