fix inet_ntoa prototype to be standard, and fix ppp code that used the non-standard version

This commit is contained in:
jani
2004-03-10 13:23:04 +00:00
parent f9dea9d35b
commit 30e5dfddb9
3 changed files with 18 additions and 3 deletions

View File

@@ -46,7 +46,7 @@ u16_t inet_chksum_pseudo(struct pbuf *p,
u32_t inet_addr(const char *cp);
int inet_aton(const char *cp, struct in_addr *addr);
u8_t *inet_ntoa(u32_t addr); /* returns ptr to static buffer; not reentrant! */
char *inet_ntoa(struct in_addr addr); /* returns ptr to static buffer; not reentrant! */
#ifdef htons
#undef htons