RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Jeff Johnson Root: /v/rpm/cvs Email: j...@rpm5.org Module: lua Date: 19-Apr-2016 14:55:44 Branch: rpm-5_4 Handle: 2016041912554400 Modified files: (Branch: rpm-5_4) lua lauxlib.c lua/local lposix.c Log: - add LUA_GNUC_PURE where suggested. Summary: Revision Changes Path 1.2.8.6 +1 -0 lua/lauxlib.c 1.14.4.10 +1 -0 lua/local/lposix.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: lua/lauxlib.c ============================================================================ $ cvs diff -u -r1.2.8.5 -r1.2.8.6 lauxlib.c --- lua/lauxlib.c 14 Mar 2016 02:14:47 -0000 1.2.8.5 +++ lua/lauxlib.c 19 Apr 2016 12:55:44 -0000 1.2.8.6 @@ -870,6 +870,7 @@ /* ** Count number of elements in a luaL_Reg list. */ +LUA_GNUC_PURE static int libsize (const luaL_Reg *l) { int size = 0; for (; l && l->name; l++) size++; @@ . patch -p0 <<'@@ .' Index: lua/local/lposix.c ============================================================================ $ cvs diff -u -r1.14.4.9 -r1.14.4.10 lposix.c --- lua/local/lposix.c 27 Sep 2014 15:48:46 -0000 1.14.4.9 +++ lua/local/lposix.c 19 Apr 2016 12:55:44 -0000 1.14.4.10 @@ -374,6 +374,7 @@ } #define doselection(L,i,S,F,d) (doselection)(L,i,sizeof(S)/sizeof(*S)-1,S,F,d) +LUA_GNUC_PURE static int lookup_symbol(const char * const S[], const int K[], const char *str) { int i; @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org