mirror of
https://github.com/postgres/postgres.git
synced 2025-06-20 15:22:23 +03:00
Remove uint32 from inet_aton file.
This commit is contained in:
@ -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;
|
||||||
|
Reference in New Issue
Block a user