summaryrefslogtreecommitdiffstats
path: root/usr.bin/rpcgen/rpc_parse.c
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>2003-07-09 03:35:21 +0000
committerderaadt <deraadt@openbsd.org>2003-07-09 03:35:21 +0000
commit23651264def8e5f92962094fa7481e55202bbdff (patch)
treead2da7a317b4196bdbdca41d4dc1959c162addf9 /usr.bin/rpcgen/rpc_parse.c
parentbetter vif_delete (no dangling ref to struct ifnet). deraadt ok (diff)
downloadwireguard-openbsd-23651264def8e5f92962094fa7481e55202bbdff.tar.xz
wireguard-openbsd-23651264def8e5f92962094fa7481e55202bbdff.zip
protos
Diffstat (limited to 'usr.bin/rpcgen/rpc_parse.c')
-rw-r--r--usr.bin/rpcgen/rpc_parse.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/rpcgen/rpc_parse.c b/usr.bin/rpcgen/rpc_parse.c
index e6671c24f3b..60895c4bff0 100644
--- a/usr.bin/rpcgen/rpc_parse.c
+++ b/usr.bin/rpcgen/rpc_parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rpc_parse.c,v 1.13 2003/06/25 21:09:26 deraadt Exp $ */
+/* $OpenBSD: rpc_parse.c,v 1.14 2003/07/09 03:35:21 deraadt Exp $ */
/* $NetBSD: rpc_parse.c,v 1.5 1995/08/29 23:05:55 cgd Exp $ */
/*
* Sun RPC is a product of Sun Microsystems, Inc. and is provided for
@@ -376,9 +376,7 @@ static char *reserved_types[] = {
/* check that the given name is not one that would eventually result in
xdr routines that would conflict with internal XDR routines. */
static void
-check_type_name(name, new_type)
- int new_type;
- char *name;
+check_type_name(char *name, int new_type)
{
int i;
char tmp[100];