diff options
author | 2002-06-10 16:51:37 +0000 | |
---|---|---|
committer | 2002-06-10 16:51:37 +0000 | |
commit | 0a391c278902b3a69d29251264df519750f5cb7f (patch) | |
tree | 88c880d5268461f11ac6cdff552b941a02d32b1b | |
parent | save some entropy in random key generation. oked by angelos many moons ago (diff) | |
download | wireguard-openbsd-0a391c278902b3a69d29251264df519750f5cb7f.tar.xz wireguard-openbsd-0a391c278902b3a69d29251264df519750f5cb7f.zip |
Move enum out of struct (gcc 3.1 wasn't happy), from David Krause
-rw-r--r-- | sbin/pfctl/parse.y | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/pfctl/parse.y b/sbin/pfctl/parse.y index 6ab5a265d5a..3bd7b4a2264 100644 --- a/sbin/pfctl/parse.y +++ b/sbin/pfctl/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.91 2002/06/10 02:09:59 kjell Exp $ */ +/* $OpenBSD: parse.y,v 1.92 2002/06/10 16:51:37 dhartmei Exp $ */ /* * Copyright (c) 2001 Markus Friedl. All rights reserved. @@ -103,8 +103,8 @@ struct node_icmp { struct node_icmp *next; }; +enum { PF_STATE_OPT_MAX=0, PF_STATE_OPT_TIMEOUT=1 }; struct node_state_opt { - enum { PF_STATE_OPT_MAX=0, PF_STATE_OPT_TIMEOUT=1 }; int type; union { u_int32_t max_states; |