Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include/rpc don't use TRUE or FALSE
details: https://anonhg.NetBSD.org/src/rev/e1183a9b03a7
branches: trunk
changeset: 546009:e1183a9b03a7
user: christos <christos%NetBSD.org@localhost>
date: Sat Apr 19 01:40:36 2003 +0000
description:
don't use TRUE or FALSE
diffstat:
include/rpc/xdr.h | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (30 lines):
diff -r bde0f02f8ba2 -r e1183a9b03a7 include/rpc/xdr.h
--- a/include/rpc/xdr.h Fri Apr 18 23:46:12 2003 +0000
+++ b/include/rpc/xdr.h Sat Apr 19 01:40:36 2003 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: xdr.h,v 1.20 2003/03/19 23:51:55 christos Exp $ */
+/* $NetBSD: xdr.h,v 1.21 2003/04/19 01:40:36 christos Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -160,9 +160,9 @@
long l;
if (!xdr_getlong(xdrs, &l))
- return (FALSE);
+ return 0;
*ip = (int32_t)l;
- return (TRUE);
+ return 1;
}
static __inline int
@@ -247,7 +247,7 @@
* properly if the data is not aligned. The standard way to use these
* is to say:
* if ((buf = XDR_INLINE(xdrs, count)) == NULL)
- * return (FALSE);
+ * return (0);
* <<< macro calls >>>
* where ``count'' is the number of bytes of data occupied
* by the primitive data types.
Home |
Main Index |
Thread Index |
Old Index