Module Name: src
Committed By: joerg
Date: Fri Apr 3 18:39:15 UTC 2020
Modified Files:
src/sbin/iscsictl: iscsic_globals.h
Log Message:
Just declare driver and buf
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/sbin/iscsictl/iscsic_globals.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sbin/iscsictl/iscsic_globals.h
diff -u src/sbin/iscsictl/iscsic_globals.h:1.5 src/sbin/iscsictl/iscsic_globals.h:1.6
--- src/sbin/iscsictl/iscsic_globals.h:1.5 Sat May 30 15:57:32 2015
+++ src/sbin/iscsictl/iscsic_globals.h Fri Apr 3 18:39:15 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: iscsic_globals.h,v 1.5 2015/05/30 15:57:32 joerg Exp $ */
+/* $NetBSD: iscsic_globals.h,v 1.6 2020/04/03 18:39:15 joerg Exp $ */
/*-
* Copyright (c) 2005,2006,2011 The NetBSD Foundation, Inc.
@@ -72,8 +72,8 @@ typedef struct {
/* ------------------------- Global Variables ----------------------------- */
-int driver; /* handle to driver (for ioctls) */
-uint8_t buf[BUF_SIZE]; /* buffer for daemon comm and driver I/O */
+extern int driver; /* handle to driver (for ioctls) */
+extern uint8_t buf[BUF_SIZE]; /* buffer for daemon comm and driver I/O */
/* ------------------------- Global Functions ----------------------------- */