From: deraadt Date: Wed, 27 Jan 2021 07:19:54 +0000 (+0000) Subject: commons used rather than externs, fix for -fno-common X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=87df4dee5b2f058c5dbc41829b3428d4994c8a21;p=openbsd commons used rather than externs, fix for -fno-common --- diff --git a/usr.sbin/btrace/bt_parser.h b/usr.sbin/btrace/bt_parser.h index cdde6eb6e4f..c3a078b3638 100644 --- a/usr.sbin/btrace/bt_parser.h +++ b/usr.sbin/btrace/bt_parser.h @@ -1,4 +1,4 @@ -/* $OpenBSD: bt_parser.h,v 1.10 2020/09/14 18:45:19 jasper Exp $ */ +/* $OpenBSD: bt_parser.h,v 1.11 2021/01/27 07:19:54 deraadt Exp $ */ /* * Copyright (c) 2019-2020 Martin Pieuchot @@ -175,8 +175,8 @@ struct bt_stmt { } bs_act; }; -struct bt_ruleq g_rules; /* Successfully parsed rules. */ -int g_nprobes; /* # of probes to attach */ +extern struct bt_ruleq g_rules; /* Successfully parsed rules. */ +extern int g_nprobes; /* # of probes to attach */ int btparse(const char *, size_t, const char *, int);