[PATCH 01/24] inet.3: Fix prototype

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



The parameters to inet_makeaddr have type in_addr_t.

Signed-off-by: Rasmus Villemoes <rv@xxxxxxxxxxxxxxxxxx>
---

Notes:
    The glibc header seems to have changed in ad483238a1ef, while the
    implementation followed two years later in bf2cc5fb028f.

 man3/inet.3 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/man3/inet.3 b/man3/inet.3
index fff0308..0c61b49 100644
--- a/man3/inet.3
+++ b/man3/inet.3
@@ -57,7 +57,7 @@ inet_netof \- Internet address manipulation routines
 .sp
 .BI "char *inet_ntoa(struct in_addr " in );
 .sp
-.BI "struct in_addr inet_makeaddr(int " net ", int " host );
+.BI "struct in_addr inet_makeaddr(in_addr_t " net ", in_addr_t " host );
 .sp
 .BI "in_addr_t inet_lnaof(struct in_addr " in );
 .sp
-- 
1.9.2

--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Kernel Documentation]     [Netdev]     [Linux Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux