diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-01-27 07:19:55 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2021-01-27 07:19:55 +0000 |
commit | ff31aa17321c0ef3f3678ed175f3362bb1bbf8dd (patch) | |
tree | 00f74da933aac657e9ba3076a6c1320b11f69a26 /usr.sbin/btrace | |
parent | bd00694ccd621d3d0d10649f307cee96207f185e (diff) |
commons used rather than externs, fix for -fno-common
Diffstat (limited to 'usr.sbin/btrace')
-rw-r--r-- | usr.sbin/btrace/bt_parser.h | 6 |
1 files 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 <mpi@openbsd.org> @@ -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); |