Use isprint() instead of isascii() as it's more common

Change return type of inet_aton from s8_t to int (standard)
Touch up comments and white space
This commit is contained in:
curtmcd
2006-05-30 19:09:41 +00:00
parent 0148128881
commit b60b7cf8fe
2 changed files with 124 additions and 124 deletions

View File

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