aboutsummaryrefslogtreecommitdiff
path: root/stand/libsa/inet_ntoa.c
diff options
context:
space:
mode:
authorAlfonso <gfunni234@gmail.com>2021-07-07 14:52:21 +0000
committerWarner Losh <imp@FreeBSD.org>2021-11-19 05:43:02 +0000
commit1f629966d683ca2e79adbc6c39e7ec5f1a87832f (patch)
tree1d11de9fb1a7d80ca94e5508ec6fd8951ca6a8c6 /stand/libsa/inet_ntoa.c
parentff94500855c16d0d9cc18aa8b0ba73ea94020c56 (diff)
downloadsrc-1f629966d683ca2e79adbc6c39e7ec5f1a87832f.tar.gz
src-1f629966d683ca2e79adbc6c39e7ec5f1a87832f.zip
ANSIify libsa functions
Convert libsa files to use ANSI function definitions. Pull request: https://github.com/freebsd/freebsd-src/pull/508 [ cut and paste error corrected ]
Diffstat (limited to 'stand/libsa/inet_ntoa.c')
-rw-r--r--stand/libsa/inet_ntoa.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/stand/libsa/inet_ntoa.c b/stand/libsa/inet_ntoa.c
index f675a0ff7736..45c79f26151d 100644
--- a/stand/libsa/inet_ntoa.c
+++ b/stand/libsa/inet_ntoa.c
@@ -45,8 +45,7 @@ static char sccsid[] = "@(#)inet_ntoa.c 8.1 (Berkeley) 6/4/93";
* to base 256 d.d.d.d representation.
*/
char *
-inet_ntoa(in)
- struct in_addr in;
+inet_ntoa(struct in_addr in)
{
static const char fmt[] = "%u.%u.%u.%u";
static char ret[sizeof "255.255.255.255"];