Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sbin/iscsictl Just declare driver and buf



details:   https://anonhg.NetBSD.org/src/rev/dd0b530faf67
branches:  trunk
changeset: 746529:dd0b530faf67
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Apr 03 18:39:15 2020 +0000

description:
Just declare driver and buf

diffstat:

 sbin/iscsictl/iscsic_globals.h |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (20 lines):

diff -r cefe698a485d -r dd0b530faf67 sbin/iscsictl/iscsic_globals.h
--- a/sbin/iscsictl/iscsic_globals.h    Fri Apr 03 18:26:14 2020 +0000
+++ b/sbin/iscsictl/iscsic_globals.h    Fri Apr 03 18:39:15 2020 +0000
@@ -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 @@
 
 /* -------------------------  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  ----------------------------- */
 



Home | Main Index | Thread Index | Old Index