inet_pton.3: SYNOPSIS: Use 'restrict' in prototypes
commit6d1cb47e4ebe47ee18ee10a2275d3a1ddd3264e9
authorAlejandro Colomar <alx.manpages@gmail.com>
Fri, 5 Mar 2021 23:50:50 +0000 (6 00:50 +0100)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Sun, 7 Mar 2021 10:16:21 +0000 (7 11:16 +0100)
treeb2233e228a423e22c3763d9372c884e40db5d15a
parentcd18d63b1a292a4bd96f3b7541490c2e60da6ebe
inet_pton.3: SYNOPSIS: Use 'restrict' in prototypes

Both POSIX and glibc use 'restrict' in inet_pton().
Let's use it here too.

.../glibc$ grep_glibc_prototype inet_pton
inet/arpa/inet.h:58:
extern int inet_pton (int __af, const char *__restrict __cp,
      void *__restrict __buf) __THROW;
.../glibc$

Signed-off-by: Alejandro Colomar <alx.manpages@gmail.com>
Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/inet_pton.3