summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartynas Venckus <martynas@cvs.openbsd.org>2008-07-25 17:43:45 +0000
committerMartynas Venckus <martynas@cvs.openbsd.org>2008-07-25 17:43:45 +0000
commitf4ce2b65a383f303497f5a4c761b7ee5a7fd28ec (patch)
tree448b607a43a32f331227a451266455997c06b457
parent09eb70cf4b8e76889a7077b9334197fa6a321d93 (diff)
don't redefine INFINITY -- math.h defines it now
pointed out by, and ok david@, go ahead henning@
-rw-r--r--sbin/pfctl/pfctl_altq.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/sbin/pfctl/pfctl_altq.c b/sbin/pfctl/pfctl_altq.c
index d1a46609ccb..0a174e5f46b 100644
--- a/sbin/pfctl/pfctl_altq.c
+++ b/sbin/pfctl/pfctl_altq.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfctl_altq.c,v 1.93 2007/10/15 02:16:35 deraadt Exp $ */
+/* $OpenBSD: pfctl_altq.c,v 1.94 2008/07/25 17:43:44 martynas Exp $ */
/*
* Copyright (c) 2002
@@ -875,7 +875,6 @@ print_hfsc_opts(const struct pf_altq *a, const struct node_queue_opt *qopts)
/*
* admission control using generalized service curve
*/
-#define INFINITY HUGE_VAL /* positive infinity defined in <math.h> */
/* add a new service curve to a generalized service curve */
static void