RPM Package Manager, CVS Repository
  http://rpm5.org/cvs/
  ____________________________________________________________________________

  Server: rpm5.org                         Name:   Ralf S. Engelschall
  Root:   /v/rpm/cvs                       Email:  [EMAIL PROTECTED]
  Module: rpm                              Date:   28-Jul-2007 10:10:10
  Branch: HEAD                             Handle: 2007072809101000

  Modified files:
    rpm/perl                RPM.xs RPM_Ts.xs

  Log:
    remove the major compile-time warnings

  Summary:
    Revision    Changes     Path
    1.9         +4  -1      rpm/perl/RPM.xs
    1.3         +1  -4      rpm/perl/RPM_Ts.xs
  ____________________________________________________________________________

  patch -p0 <<'@@ .'
  Index: rpm/perl/RPM.xs
  ============================================================================
  $ cvs diff -u -r1.8 -r1.9 RPM.xs
  --- rpm/perl/RPM.xs   28 Jul 2007 08:06:41 -0000      1.8
  +++ rpm/perl/RPM.xs   28 Jul 2007 08:10:10 -0000      1.9
  @@ -17,11 +17,14 @@
   #include "rpmts.h"
   #include "rpmte.h"
   #include "rpmmacro.h"
  +#include "rpmevr.h"
   #include "header.h"
   #include "rpmdb.h"
   #include "misc.h"
   
  -void
  +extern void _populate_header_tags(HV *href);
  +
  +static void
   _populate_constant(HV *href, char *name, int val)
   {
       hv_store(href, name, strlen(name), newSViv(val), 0);
  @@ .
  patch -p0 <<'@@ .'
  Index: rpm/perl/RPM_Ts.xs
  ============================================================================
  $ cvs diff -u -r1.2 -r1.3 RPM_Ts.xs
  --- rpm/perl/RPM_Ts.xs        28 Jul 2007 08:06:41 -0000      1.2
  +++ rpm/perl/RPM_Ts.xs        28 Jul 2007 08:10:10 -0000      1.3
  @@ -28,7 +28,7 @@
      Also, we probably want to give a nice interface such that we could allow
      users of RPM to do their own callback, but that will have to come later.
   */
  -void * _null_callback(
  +static void * _null_callback(
        const void * arg, 
        const rpmCallbackType what, 
        const unsigned long long amount, 
  @@ -37,7 +37,6 @@
        rpmCallbackData data)
   {
        Header h = (Header) arg;
  -     char * s;
        int flags = (int) ((long)data);
        void * rc = NULL;
        const char * filename = (const char *)key;
  @@ -237,8 +236,6 @@
        rpmts t
        rpmprobFilterFlags prob_filter 
       PREINIT:
  -     int i;
  -     rpmProblem p;
        int ret;
       CODE:
        /* Make sure we could run this transactions */
  @@ .
______________________________________________________________________
RPM Package Manager                                    http://rpm5.org
CVS Sources Repository                                [email protected]

Reply via email to