diff options
author | tjr <tjr@FreeBSD.org> | 2002-09-06 11:24:06 +0000 |
---|---|---|
committer | tjr <tjr@FreeBSD.org> | 2002-09-06 11:24:06 +0000 |
commit | cd5ca96599d24e7c9375719e86b16b5d3165e931 (patch) | |
tree | ee19d604b38f08d225b97c81a641deba71f33d6b /lib/libc/net | |
parent | 97acf1a793f3b9951362d9f3125aa7f36755d083 (diff) | |
download | FreeBSD-src-cd5ca96599d24e7c9375719e86b16b5d3165e931.zip FreeBSD-src-cd5ca96599d24e7c9375719e86b16b5d3165e931.tar.gz |
Style: One space between "restrict" qualifier and "*".
Diffstat (limited to 'lib/libc/net')
-rw-r--r-- | lib/libc/net/inet.3 | 6 | ||||
-rw-r--r-- | lib/libc/net/inet_ntop.c | 2 | ||||
-rw-r--r-- | lib/libc/net/inet_pton.c | 2 |
3 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/net/inet.3 b/lib/libc/net/inet.3 index b5a898d..e480894 100644 --- a/lib/libc/net/inet.3 +++ b/lib/libc/net/inet.3 @@ -64,12 +64,12 @@ .Ft const char * .Fo inet_ntop .Fa "int af" -.Fa "const void *restrict src" -.Fa "char *restrict dst" +.Fa "const void * restrict src" +.Fa "char * restrict dst" .Fa "socklen_t size" .Fc .Ft int -.Fn inet_pton "int af" "const char *restrict src" "void *restrict dst" +.Fn inet_pton "int af" "const char * restrict src" "void * restrict dst" .Ft struct in_addr .Fn inet_makeaddr "in_addr_t net" "in_addr_t lna" .Ft in_addr_t diff --git a/lib/libc/net/inet_ntop.c b/lib/libc/net/inet_ntop.c index 93e175c..d73a33c 100644 --- a/lib/libc/net/inet_ntop.c +++ b/lib/libc/net/inet_ntop.c @@ -47,7 +47,7 @@ static const char *inet_ntop6(const u_char *src, char *dst, socklen_t size); * Paul Vixie, 1996. */ const char * -inet_ntop(int af, const void *__restrict src, char *__restrict dst, +inet_ntop(int af, const void * __restrict src, char * __restrict dst, socklen_t size) { switch (af) { diff --git a/lib/libc/net/inet_pton.c b/lib/libc/net/inet_pton.c index b29e3e2..65f28cf 100644 --- a/lib/libc/net/inet_pton.c +++ b/lib/libc/net/inet_pton.c @@ -48,7 +48,7 @@ static int inet_pton6(const char *src, u_char *dst); * Paul Vixie, 1996. */ int -inet_pton(int af, const char *__restrict src, void *__restrict dst) +inet_pton(int af, const char * __restrict src, void * __restrict dst) { switch (af) { case AF_INET: |