From: claudio Date: Wed, 26 Apr 2023 18:14:28 +0000 (+0000) Subject: Add prototypes for geticmptypebyname() and geticmpcodebyname(). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=aa0e23499ee3a45cda8162bc41396a6f3dd89a50;p=openbsd Add prototypes for geticmptypebyname() and geticmpcodebyname(). Needed for bison. --- 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;