From aa0e23499ee3a45cda8162bc41396a6f3dd89a50 Mon Sep 17 00:00:00 2001 From: claudio Date: Wed, 26 Apr 2023 18:14:28 +0000 Subject: [PATCH] Add prototypes for geticmptypebyname() and geticmpcodebyname(). Needed for bison. --- usr.sbin/bgpd/parse.y | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 @@ -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; -- 2.20.1