提交 0829d2db 编写于 作者: B Bruce Momjian

Remove uint32 from inet_aton file.

上级 f03b75e4
...@@ -47,10 +47,6 @@ ...@@ -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 @@ ...@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册