RPM Package Manager, CVS Repository http://rpm5.org/cvs/ ____________________________________________________________________________
Server: rpm5.org Name: Ralf S. Engelschall Root: /v/rpm/cvs Email: [EMAIL PROTECTED] Module: lua Date: 20-Aug-2008 09:08:41 Branch: rpm-5_1 Handle: 2008082007084100 Modified files: (Branch: rpm-5_1) lua/local lshadow.c lwrs.c Log: fix build-time warnings Summary: Revision Changes Path 1.1.2.5 +3 -1 lua/local/lshadow.c 1.1.2.6 +3 -1 lua/local/lwrs.c ____________________________________________________________________________ patch -p0 <<'@@ .' Index: lua/local/lshadow.c ============================================================================ $ cvs diff -u -r1.1.2.4 -r1.1.2.5 lshadow.c --- lua/local/lshadow.c 19 Aug 2008 15:39:07 -0000 1.1.2.4 +++ lua/local/lshadow.c 20 Aug 2008 07:08:41 -0000 1.1.2.5 @@ -1,5 +1,5 @@ /* -** $Id: lshadow.c,v 1.1.2.4 2008/08/19 15:39:07 jbj Exp $ +** $Id: lshadow.c,v 1.1.2.5 2008/08/20 07:08:41 rse Exp $ ** Shadow utilities */ @@ -18,6 +18,7 @@ extern int useradd_main (int argc, char **argv); extern int chkconfig_main (int argc, char **argv); +#if defined(USE_LUA_SHADOW) || defined(USE_LUA_CHKCONFIG) static int lcl_makeArgv(char *in, char **argv, int max) { int i; @@ -41,6 +42,7 @@ } return -1; } +#endif static int shadow_version (lua_State *L) /[EMAIL PROTECTED] internalState @*/ @@ . patch -p0 <<'@@ .' Index: lua/local/lwrs.c ============================================================================ $ cvs diff -u -r1.1.2.5 -r1.1.2.6 lwrs.c --- lua/local/lwrs.c 19 Aug 2008 15:39:07 -0000 1.1.2.5 +++ lua/local/lwrs.c 20 Aug 2008 07:08:41 -0000 1.1.2.6 @@ -1,5 +1,5 @@ /* -** $Id: lwrs.c,v 1.1.2.5 2008/08/19 15:39:07 jbj Exp $ +** $Id: lwrs.c,v 1.1.2.6 2008/08/20 07:08:41 rse Exp $ ** WRLinux utilities */ @@ -18,6 +18,7 @@ extern int useradd_main (int argc, char **argv); extern int chkconfig_main (int argc, char **argv); +#if defined(USE_LUA_SHADOW) || defined(USE_LUA_CHKCONFIG) static int lcl_makeArgv(char *in, char **argv, int max) { int i; @@ -39,6 +40,7 @@ } return -1; } +#endif static int wrs_version (lua_State *L) /[EMAIL PROTECTED] internalState @*/ @@ . ______________________________________________________________________ RPM Package Manager http://rpm5.org CVS Sources Repository rpm-cvs@rpm5.org