summaryrefslogtreecommitdiff
path: root/usr.sbin/iscsid
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2021-01-27 07:21:56 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2021-01-27 07:21:56 +0000
commit058fa07b32a9294e257b197c7c6be77a43bb6a52 (patch)
tree4c4002309f164f61922238249c6094887066cd02 /usr.sbin/iscsid
parent6e9a6c5cd0117b0cecf54fc9e3fe849a80ca3844 (diff)
these programs (with common ancestry) had a -fno-common problem related
to privsep_procid. ok mortimer
Diffstat (limited to 'usr.sbin/iscsid')
-rw-r--r--usr.sbin/iscsid/iscsid.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/iscsid/iscsid.c b/usr.sbin/iscsid/iscsid.c
index c100ef3dc5a..d3526e96363 100644
--- a/usr.sbin/iscsid/iscsid.c
+++ b/usr.sbin/iscsid/iscsid.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: iscsid.c,v 1.20 2017/01/23 08:40:07 benno Exp $ */
+/* $OpenBSD: iscsid.c,v 1.21 2021/01/27 07:21:54 deraadt Exp $ */
/*
* Copyright (c) 2009 Claudio Jeker <claudio@openbsd.org>
@@ -38,7 +38,7 @@ void main_sig_handler(int, short, void *);
__dead void usage(void);
void shutdown_cb(int, short, void *);
-struct initiator *initiator;
+extern struct initiator *initiator;
struct event exit_ev;
int exit_rounds;
#define ISCSI_EXIT_WAIT 5