about summary refs log tree commit diff
path: root/inet
diff options
context:
space:
mode:
Diffstat (limited to 'inet')
-rw-r--r--inet/inet_lnaof.c3
-rw-r--r--inet/inet_net.c3
-rw-r--r--inet/inet_netof.c3
-rw-r--r--inet/rcmd.c7
4 files changed, 5 insertions, 11 deletions
diff --git a/inet/inet_lnaof.c b/inet/inet_lnaof.c
index c993c8b847..8fd759ccbb 100644
--- a/inet/inet_lnaof.c
+++ b/inet/inet_lnaof.c
@@ -41,8 +41,7 @@ static char sccsid[] = "@(#)inet_lnaof.c	8.1 (Berkeley) 6/4/93";
  * number formats.
  */
 in_addr_t
-inet_lnaof(in)
-	struct in_addr in;
+inet_lnaof (struct in_addr in)
 {
 	u_int32_t i = ntohl(in.s_addr);
 
diff --git a/inet/inet_net.c b/inet/inet_net.c
index b28fdb1190..1bce06d673 100644
--- a/inet/inet_net.c
+++ b/inet/inet_net.c
@@ -60,8 +60,7 @@ static char sccsid[] = "@(#)inet_network.c	8.1 (Berkeley) 6/4/93";
  * network numbers.
  */
 u_int32_t
-inet_network(cp)
-	const char *cp;
+inet_network (const char *cp)
 {
 	u_int32_t val, base, n, i;
 	char c;
diff --git a/inet/inet_netof.c b/inet/inet_netof.c
index 9b0aed992e..0f048e6c46 100644
--- a/inet/inet_netof.c
+++ b/inet/inet_netof.c
@@ -40,8 +40,7 @@ static char sccsid[] = "@(#)inet_netof.c	8.1 (Berkeley) 6/4/93";
  * address; handles class a/b/c network #'s.
  */
 in_addr_t
-inet_netof(in)
-	struct in_addr in;
+inet_netof (struct in_addr in)
 {
 	u_int32_t i = ntohl(in.s_addr);
 
diff --git a/inet/rcmd.c b/inet/rcmd.c
index 035cb0d87d..d3fe3c57fc 100644
--- a/inet/rcmd.c
+++ b/inet/rcmd.c
@@ -370,9 +370,7 @@ rcmd(ahost, rport, locuser, remuser, cmd, fd2p)
 }
 
 int
-rresvport_af(alport, family)
-	int *alport;
-	sa_family_t family;
+rresvport_af (int *alport, sa_family_t family)
 {
 	union {
 		struct sockaddr generic;
@@ -431,8 +429,7 @@ rresvport_af(alport, family)
 libc_hidden_def (rresvport_af)
 
 int
-rresvport(alport)
-	int *alport;
+rresvport (int *alport)
 {
 	return rresvport_af(alport, AF_INET);
 }