diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2023-04-26 18:14:29 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2023-04-26 18:14:29 +0000 |
commit | e515f29240192c40c26af4a4a63c68354440f996 (patch) | |
tree | 20ee3bffb355c0fb6e5afbe93e6e3163b94a6187 | |
parent | 19a0bf4d328497b3de839780b6e934aa5858f7ed (diff) |
Add prototypes for geticmptypebyname() and geticmpcodebyname().
Needed for bison.
-rw-r--r-- | usr.sbin/bgpd/parse.y | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y index 3c3e31044ce..3ca06b539b1 100644 --- a/usr.sbin/bgpd/parse.y +++ b/usr.sbin/bgpd/parse.y @@ -1,4 +1,4 @@ -/* $OpenBSD: parse.y,v 1.452 2023/04/21 10:48:33 claudio Exp $ */ +/* $OpenBSD: parse.y,v 1.453 2023/04/26 18:14:28 claudio Exp $ */ /* * Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -186,6 +186,8 @@ static int push_prefix(struct bgpd_addr *, uint8_t); static int push_binop(uint8_t, long long); static int push_unary_numop(enum comp_ops, long long); static int push_binary_numop(enum comp_ops, long long, long long); +static int geticmptypebyname(char *, uint8_t); +static int geticmpcodebyname(u_long, char *, uint8_t); static struct bgpd_config *conf; static struct network_head *netconf; |