Remove uint32 from inet_aton file.
This commit is contained in:
parent
f03b75e4a3
commit
0829d2dba8
@ -47,10 +47,6 @@
|
|||||||
#include <ctype.h>
|
#include <ctype.h>
|
||||||
#include "inet_aton.h"
|
#include "inet_aton.h"
|
||||||
|
|
||||||
#ifdef _AIX
|
|
||||||
#include <sys/ltypes.h> /* For definition of uint32 */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/*
|
/*
|
||||||
* Check whether "cp" is a valid ascii representation
|
* Check whether "cp" is a valid ascii representation
|
||||||
* of an Internet address and convert to a binary address.
|
* of an Internet address and convert to a binary address.
|
||||||
@ -61,7 +57,7 @@
|
|||||||
int
|
int
|
||||||
inet_aton(const char *cp, struct in_addr * addr)
|
inet_aton(const char *cp, struct in_addr * addr)
|
||||||
{
|
{
|
||||||
register uint32 val;
|
register unsigned int val;
|
||||||
register int base,
|
register int base,
|
||||||
n;
|
n;
|
||||||
register char c;
|
register char c;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user