OSSP CVS Repository

ossp - Check-in [4215]
Not logged in
[Honeypot]  [Browse]  [Home]  [Login]  [Reports
[Search]  [Ticket]  [Timeline
  [Patchset]  [Tagging/Branching

Check-in Number: 4215
Date: 2001-Jul-19 11:47:03 (local)
2001-Jul-19 09:47:03 (UTC)
User:simons
Branch:
Comment: Added stub for XDR routine that's called differently on FreeBSD.
Tickets:
Inspections:
Files:
ossp-pkg/xds/regression-tests/xdr-uint32.c      1.3->removed
ossp-pkg/xds/regression-tests/xdr-uint64.c      1.3->removed

ossp-pkg/xds/regression-tests/xdr-uint32.c 1.3 -> 1.4

--- xdr-uint32.c 2001/07/18 18:58:46     1.3
+++ xdr-uint32.c 2001/07/19 09:47:03     1.4
@@ -31,6 +31,13 @@
 #include <rpc/xdr.h>
 #include "../internal.h"
 
+#ifdef __FreeBSD__
+static int xdr_uint32_t(XDR *xdrs, uint32_t *val)
+    {
+    return xdr_u_int32_t(xdrs, val);
+    }
+#endif
+
 int main()
     {
     XDR    xdrs;


ossp-pkg/xds/regression-tests/xdr-uint64.c 1.3 -> 1.4

--- xdr-uint64.c 2001/07/18 18:58:46     1.3
+++ xdr-uint64.c 2001/07/19 09:47:03     1.4
@@ -31,6 +31,13 @@
 #include <rpc/xdr.h>
 #include "../internal.h"
 
+#ifdef __FreeBSD__
+static int xdr_uint64_t(XDR *xdrs, uint64_t *val)
+    {
+    return xdr_u_int64_t(xdrs, val);
+    }
+#endif
+
 int main()
     {
     XDR    xdrs;

CVSTrac 2.0.1