File tree 3 files changed +6
-6
lines changed
3 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 3
3
* is for IP V4 CIDR notation, but prepared for V6: just
4
4
* add the necessary bits where the comments indicate.
5
5
*
6
- * $Id: ip.c,v 1.1 1998/10/03 05:40:49 momjian Exp $
6
+ * $Id: ip.c,v 1.2 1998/10/04 15:31:06 momjian Exp $
7
7
*/
8
8
9
9
#include <sys/types.h>
@@ -266,7 +266,7 @@ ipaddr_cmp(ipaddr *a1, ipaddr *a2)
266
266
*/
267
267
268
268
int
269
- v4bitncmp (u_int32_t a1 , u_int32_t a2 , int bits )
269
+ v4bitncmp (unsigned int a1 , unsigned int a2 , int bits )
270
270
{
271
271
unsigned long mask = 0 ;
272
272
int i ;
Original file line number Diff line number Diff line change 6
6
*
7
7
* Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Id: builtins.h,v 1.56 1998/10/03 05:40:59 momjian Exp $
9
+ * $Id: builtins.h,v 1.57 1998/10/04 15:31:07 momjian Exp $
10
10
*
11
11
* NOTES
12
12
* This should normally only be included by fmgr.h.
@@ -532,7 +532,7 @@ bool ipaddr_subeq(ipaddr * a1, ipaddr * a2);
532
532
bool ipaddr_sup (ipaddr * a1 , ipaddr * a2 );
533
533
bool ipaddr_supeq (ipaddr * a1 , ipaddr * a2 );
534
534
int4 ipaddr_cmp (ipaddr * a1 , ipaddr * a2 );
535
- int v4bitncmp (u_int32_t a1 , u_int32_t a2 , int bits );
535
+ int v4bitncmp (unsigned int a1 , unsigned int a2 , int bits );
536
536
537
537
538
538
/* mac.c */
Original file line number Diff line number Diff line change 6
6
*
7
7
* Copyright (c) 1994, Regents of the University of California
8
8
*
9
- * $Id: mac.h,v 1.1 1998/10/03 05:41:01 momjian Exp $
9
+ * $Id: mac.h,v 1.2 1998/10/04 15:31:09 momjian Exp $
10
10
*
11
11
*-------------------------------------------------------------------------
12
12
*/
@@ -23,7 +23,7 @@ typedef struct
23
23
unsigned char bits ;
24
24
union
25
25
{
26
- u_int32_t ipv4_addr ; /* network byte order */
26
+ unsigned int ipv4_addr ; /* network byte order */
27
27
/* add IPV6 address type here */
28
28
} addr ;
29
29
} ipaddr_struct ;
You can’t perform that action at this time.
0 commit comments