Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-5]: src/include/rpc Add missing int to untyped static __inline_...



details:   https://anonhg.NetBSD.org/src/rev/3a0a5e3c000b
branches:  netbsd-1-5
changeset: 488572:3a0a5e3c000b
user:      matt <matt%NetBSD.org@localhost>
date:      Tue Jul 18 19:12:06 2000 +0000

description:
Add missing int to untyped static __inline__ xdr_{get,put}int32

diffstat:

 include/rpc/xdr.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 869457508268 -r 3a0a5e3c000b include/rpc/xdr.h
--- a/include/rpc/xdr.h Tue Jul 18 18:33:23 2000 +0000
+++ b/include/rpc/xdr.h Tue Jul 18 19:12:06 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: xdr.h,v 1.17.2.1 2000/07/14 16:46:33 fvdl Exp $        */
+/*     $NetBSD: xdr.h,v 1.17.2.2 2000/07/18 19:12:06 matt Exp $        */
 
 /*
  * Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -154,7 +154,7 @@
 #define xdr_putlong(xdrs, longp)                       \
        (*(xdrs)->x_ops->x_putlong)(xdrs, longp)
 
-static __inline
+static __inline int
 xdr_getint32(XDR *xdrs, int32_t *ip)
 {
        long l;
@@ -165,7 +165,7 @@
        return (TRUE);
 }
 
-static __inline
+static __inline int
 xdr_putint32(XDR *xdrs, int32_t *ip)
 {
        long l;



Home | Main Index | Thread Index | Old Index