Commit f5a21920 authored by Bruce Momjian's avatar Bruce Momjian

Remove u_int32_t

parent 3f8bc47d
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
* is for IP V4 CIDR notation, but prepared for V6: just * is for IP V4 CIDR notation, but prepared for V6: just
* add the necessary bits where the comments indicate. * add the necessary bits where the comments indicate.
* *
* $Id: ip.c,v 1.1 1998/10/03 05:40:49 momjian Exp $ * $Id: ip.c,v 1.2 1998/10/04 15:31:06 momjian Exp $
*/ */
#include <sys/types.h> #include <sys/types.h>
...@@ -266,7 +266,7 @@ ipaddr_cmp(ipaddr *a1, ipaddr *a2) ...@@ -266,7 +266,7 @@ ipaddr_cmp(ipaddr *a1, ipaddr *a2)
*/ */
int int
v4bitncmp(u_int32_t a1, u_int32_t a2, int bits) v4bitncmp(unsigned int a1, unsigned int a2, int bits)
{ {
unsigned long mask = 0; unsigned long mask = 0;
int i; int i;
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: builtins.h,v 1.56 1998/10/03 05:40:59 momjian Exp $ * $Id: builtins.h,v 1.57 1998/10/04 15:31:07 momjian Exp $
* *
* NOTES * NOTES
* This should normally only be included by fmgr.h. * This should normally only be included by fmgr.h.
...@@ -532,7 +532,7 @@ bool ipaddr_subeq(ipaddr * a1, ipaddr * a2); ...@@ -532,7 +532,7 @@ bool ipaddr_subeq(ipaddr * a1, ipaddr * a2);
bool ipaddr_sup(ipaddr * a1, ipaddr * a2); bool ipaddr_sup(ipaddr * a1, ipaddr * a2);
bool ipaddr_supeq(ipaddr * a1, ipaddr * a2); bool ipaddr_supeq(ipaddr * a1, ipaddr * a2);
int4 ipaddr_cmp(ipaddr * a1, ipaddr * a2); int4 ipaddr_cmp(ipaddr * a1, ipaddr * a2);
int v4bitncmp(u_int32_t a1, u_int32_t a2, int bits); int v4bitncmp(unsigned int a1, unsigned int a2, int bits);
/* mac.c */ /* mac.c */
......
...@@ -6,7 +6,7 @@ ...@@ -6,7 +6,7 @@
* *
* Copyright (c) 1994, Regents of the University of California * Copyright (c) 1994, Regents of the University of California
* *
* $Id: mac.h,v 1.1 1998/10/03 05:41:01 momjian Exp $ * $Id: mac.h,v 1.2 1998/10/04 15:31:09 momjian Exp $
* *
*------------------------------------------------------------------------- *-------------------------------------------------------------------------
*/ */
...@@ -23,7 +23,7 @@ typedef struct ...@@ -23,7 +23,7 @@ typedef struct
unsigned char bits; unsigned char bits;
union union
{ {
u_int32_t ipv4_addr; /* network byte order */ unsigned int ipv4_addr; /* network byte order */
/* add IPV6 address type here */ /* add IPV6 address type here */
} addr; } addr;
} ipaddr_struct; } ipaddr_struct;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment