summaryrefslogtreecommitdiff
path: root/sbin/pfctl/pfctl_parser.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2003-02-02 19:25:07 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2003-02-02 19:25:07 +0000
commit540c7f29938b756ec0ea64594521067f51383600 (patch)
tree71071764bbc3b1abf40e0178a26ce289f776fc12 /sbin/pfctl/pfctl_parser.c
parentbeb23f92d56f99da8bfc3d223888b3938a077712 (diff)
no const for int; cedric@
Diffstat (limited to 'sbin/pfctl/pfctl_parser.c')
-rw-r--r--sbin/pfctl/pfctl_parser.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/sbin/pfctl/pfctl_parser.c b/sbin/pfctl/pfctl_parser.c
index d4d4ccfc736..61a8994dfa9 100644
--- a/sbin/pfctl/pfctl_parser.c
+++ b/sbin/pfctl/pfctl_parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_parser.c,v 1.138 2003/02/02 18:32:35 henning Exp $ */
+/* $OpenBSD: pfctl_parser.c,v 1.139 2003/02/02 19:25:06 henning Exp $ */
/*
* Copyright (c) 2001 Daniel Hartmeier
@@ -62,10 +62,10 @@ void print_flags (u_int8_t);
void print_fromto(struct pf_rule_addr *, struct pf_rule_addr *,
u_int8_t, u_int8_t, int);
-struct node_host *host_if(const char *, const int);
+struct node_host *host_if(const char *, int);
struct node_host *host_v4(const char *);
-struct node_host *host_v6(const char *, const int);
-struct node_host *host_dns(const char *, const int, const int);
+struct node_host *host_v6(const char *, int);
+struct node_host *host_dns(const char *, int, int);
char *tcpflags = "FSRPAUEW";
@@ -1204,7 +1204,7 @@ host(const char *s, int mask)
}
struct node_host *
-host_if(const char *s, const int mask)
+host_if(const char *s, int mask)
{
struct node_host *n, *h = NULL;
char *p, *ps;
@@ -1263,7 +1263,7 @@ host_v4(const char *s)
}
struct node_host *
-host_v6(const char *s, const int mask)
+host_v6(const char *s, int mask)
{
struct addrinfo hints, *res;
struct node_host *h = NULL;
@@ -1293,7 +1293,7 @@ host_v6(const char *s, const int mask)
}
struct node_host *
-host_dns(const char *s, const int v4mask, const int v6mask)
+host_dns(const char *s, int v4mask, int v6mask)
{
struct addrinfo hints, *res0, *res;
struct node_host *n, *h = NULL;