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: 18-Jul-2007 00:12:16
Branch: HEAD Handle: 2007071723121500
Modified files:
rpm/rpmio rpmdav.c
Log:
Finally get rid also of the two prominent compile-time warnings which
resulted from NEON 0.25 to 0.26 API changes:
rpmdav.c:734: warning: passing argument 2 of 'ne_propfind_set_private' from
incompatible pointer type
rpmdav.c:736: warning: passing argument 3 of 'ne_propfind_named' from
incompatible pointer type
Summary:
Revision Changes Path
2.39 +9 -0 rpm/rpmio/rpmdav.c
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: rpm/rpmio/rpmdav.c
============================================================================
$ cvs diff -u -r2.38 -r2.39 rpmdav.c
--- rpm/rpmio/rpmdav.c 10 Jul 2007 12:15:19 -0000 2.38
+++ rpm/rpmio/rpmdav.c 17 Jul 2007 22:12:15 -0000 2.39
@@ -457,7 +457,11 @@
}
#endif
+#if !defined(NE_FREE)
+static void *fetch_create_item(/[EMAIL PROTECTED]@*/ void *userdata, /[EMAIL
PROTECTED]@*/ const ne_uri *uri)
+#else
static void *fetch_create_item(/[EMAIL PROTECTED]@*/ void *userdata, /[EMAIL
PROTECTED]@*/ const char *uri)
+#endif
/[EMAIL PROTECTED]/
{
struct fetch_resource_s * res = ne_calloc(sizeof(*res));
@@ -590,8 +594,13 @@
}
}
+#if !defined(NE_FREE)
+static void fetch_results(void *userdata, const ne_uri *uarg,
+ const ne_prop_result_set *set)
+#else
static void fetch_results(void *userdata, void *uarg,
const ne_prop_result_set *set)
+#endif
/[EMAIL PROTECTED]/
{
struct fetch_context_s *ctx = userdata;
@@ .
______________________________________________________________________
RPM Package Manager http://rpm5.org
CVS Sources Repository [email protected]