summaryrefslogtreecommitdiff
path: root/sys/net/pf.c
diff options
context:
space:
mode:
authorArtur Grabowski <art@cvs.openbsd.org>2001-06-25 08:42:09 +0000
committerArtur Grabowski <art@cvs.openbsd.org>2001-06-25 08:42:09 +0000
commit0e84244239816fe4d9e5b1b1b293303dce291572 (patch)
treeb7e4d9fd08214fe3f0e2e0003eabbed4e8107587 /sys/net/pf.c
parentafc54c8ecce92a440f403b7d90be3234b60bef16 (diff)
more
Diffstat (limited to 'sys/net/pf.c')
-rw-r--r--sys/net/pf.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/net/pf.c b/sys/net/pf.c
index fbe46ee7421..984d91f581c 100644
--- a/sys/net/pf.c
+++ b/sys/net/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.23 2001/06/25 08:39:48 art Exp $ */
+/* $OpenBSD: pf.c,v 1.24 2001/06/25 08:42:08 art Exp $ */
/*
* Copyright (c) 2001, Daniel Hartmeier
@@ -97,7 +97,7 @@ struct pool pf_state_pl;
* Prototypes
*/
-signed char tree_key_compare(struct tree_key *, struct tree_key *);
+int tree_key_compare(struct tree_key *, struct tree_key *);
void tree_rotate_left(struct tree_node **);
void tree_rotate_right(struct tree_node **);
int tree_insert(struct tree_node **, struct tree_key *,
@@ -143,7 +143,7 @@ void *pull_hdr(struct ifnet *, struct mbuf **, int, int, int,
struct ip *, int *);
int pf_test(int, struct ifnet *, struct mbuf **);
-signed char
+int
tree_key_compare(struct tree_key *a, struct tree_key *b)
{
/*
@@ -250,7 +250,7 @@ int
tree_remove(struct tree_node **p, struct tree_key *key)
{
int deltaH = 0;
- signed char c;
+ int c;
if (*p == NULL)
return (0);