From 87df4dee5b2f058c5dbc41829b3428d4994c8a21 Mon Sep 17 00:00:00 2001 From: deraadt Date: Wed, 27 Jan 2021 07:19:54 +0000 Subject: [PATCH] commons used rather than externs, fix for -fno-common --- usr.sbin/btrace/bt_parser.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) 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); -- 2.20.1