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 Pull up revisions 1.2-1.3 (requested by wiz):



details:   https://anonhg.NetBSD.org/src/rev/0d2c547f5272
branches:  netbsd-1-5
changeset: 493051:0d2c547f5272
user:      he <he%NetBSD.org@localhost>
date:      Thu Apr 11 21:46:33 2002 +0000

description:
Pull up revisions 1.2-1.3 (requested by wiz):
  Change one #ifdef to #if, put token after #endif in comment, and
  two minor typo fixes.

diffstat:

 include/rpc/rpcb_prot.x |  8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diffs (37 lines):

diff -r 63145c93abb4 -r 0d2c547f5272 include/rpc/rpcb_prot.x
--- a/include/rpc/rpcb_prot.x   Thu Apr 11 21:36:29 2002 +0000
+++ b/include/rpc/rpcb_prot.x   Thu Apr 11 21:46:33 2002 +0000
@@ -168,7 +168,7 @@
 %#ifdef __cplusplus
 %extern "C" {
 %#endif
-%#ifdef __STDC__
+%#if __STDC__
 %extern  bool_t xdr_rpcblist(XDR *, rpcblist**);
 %#else /* K&R C */
 %bool_t xdr_rpcblist();
@@ -235,7 +235,7 @@
 %      } results;
 %      xdrproc_t       xdr_res;        /* decodes results */
 %};
-#endif RPC_HDR
+#endif /* RPC_HDR */
 %
 %/*
 % * rpcb_entry contains a merged address of a service on a particular
@@ -418,7 +418,7 @@
 %
 %#define       _PATH_RPCBINDSOCK       "/var/run/rpcbind.sock"
 %
-%#else         /* ndef _KERNEL */
+%#else         /* ifndef _KERNEL */
 %#ifdef __cplusplus
 %extern "C" {
 %#endif
@@ -555,5 +555,5 @@
 %}
 %#endif
 %
-%#endif                /* ndef _KERNEL */
+%#endif                /* ifndef _KERNEL */
 #endif         /* RPC_HDR */



Home | Main Index | Thread Index | Old Index