diff options
author | 2003-06-01 17:00:26 +0000 | |
---|---|---|
committer | 2003-06-01 17:00:26 +0000 | |
commit | 1ee9984c4f4397b4e37dd231ed72dcab53ea0dff (patch) | |
tree | eac83456bbe224ca5a01b23024644072301555e9 /sys/lib/libsa/rpc.c | |
parent | sync (diff) | |
download | wireguard-openbsd-1ee9984c4f4397b4e37dd231ed72dcab53ea0dff.tar.xz wireguard-openbsd-1ee9984c4f4397b4e37dd231ed72dcab53ea0dff.zip |
strcpy/strcat/sprintf removal in all bootblocks. various testing by
various people. outside of some messy things in src/gnu, only one
thing in the main tree now violates this rule: bind
Diffstat (limited to 'sys/lib/libsa/rpc.c')
-rw-r--r-- | sys/lib/libsa/rpc.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/lib/libsa/rpc.c b/sys/lib/libsa/rpc.c index 8fa05ae902c..35b692bc38f 100644 --- a/sys/lib/libsa/rpc.c +++ b/sys/lib/libsa/rpc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rpc.c,v 1.11 2002/03/14 01:27:07 millert Exp $ */ +/* $OpenBSD: rpc.c,v 1.12 2003/06/01 17:00:33 deraadt Exp $ */ /* $NetBSD: rpc.c,v 1.16 1996/10/13 02:29:06 christos Exp $ */ /* @@ -62,7 +62,7 @@ #include "rpc.h" struct auth_info { - int32_t authtype; /* auth type */ + int32_t authtype; /* auth type */ u_int32_t authlen; /* auth length */ }; @@ -76,7 +76,7 @@ struct auth_unix { struct rpc_call { u_int32_t rp_xid; /* request transaction id */ - int32_t rp_direction; /* call direction (0) */ + int32_t rp_direction; /* call direction (0) */ u_int32_t rp_rpcvers; /* rpc version (2) */ u_int32_t rp_prog; /* program */ u_int32_t rp_vers; /* version */ @@ -85,8 +85,8 @@ struct rpc_call { struct rpc_reply { u_int32_t rp_xid; /* request transaction id */ - int32_t rp_direction; /* call direction (1) */ - int32_t rp_astatus; /* accept status (0: accepted) */ + int32_t rp_direction; /* call direction (1) */ + int32_t rp_astatus; /* accept status (0: accepted) */ union { u_int32_t rpu_errno; struct { @@ -321,7 +321,7 @@ struct pmap_list { struct in_addr addr; /* server, net order */ u_int prog; /* host order */ u_int vers; /* host order */ - int port; /* host order */ + int port; /* host order */ } rpc_pmap_list[PMAP_NUM]; /* return port number in host order, or -1 */ @@ -348,7 +348,7 @@ rpc_pmap_putcache(addr, prog, vers, port) struct in_addr addr; /* server, net order */ u_int prog; /* host order */ u_int vers; /* host order */ - int port; /* host order */ + int port; /* host order */ { struct pmap_list *pl; |