changed devGpibParmBlock to static
This commit is contained in:
@@ -88,7 +88,7 @@
|
||||
long init_dev_sup(), report();
|
||||
int srqHandler();
|
||||
int aiGpibSrq(), liGpibSrq(), biGpibSrq(), mbbiGpibSrq(), stringinGpibSrq();
|
||||
struct devGpibParmBlock devSupParms;
|
||||
static struct devGpibParmBlock devSupParms;
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
@@ -280,7 +280,7 @@ static struct gpibCmd gpibCmds[] =
|
||||
* scanned"... not passive.
|
||||
*
|
||||
******************************************************************************/
|
||||
struct devGpibParmBlock devSupParms = {
|
||||
static struct devGpibParmBlock devSupParms = {
|
||||
&Dc5009Debug, /* debugging flag pointer */
|
||||
-1, /* device does not respond to writes */
|
||||
TIME_WINDOW, /* # of clock ticks to skip after a device times out */
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
long init_dev_sup(), report();
|
||||
int srqHandler();
|
||||
int aiGpibSrq(), liGpibSrq(), biGpibSrq(), mbbiGpibSrq(), stringinGpibSrq();
|
||||
struct devGpibParmBlock devSupParms;
|
||||
static struct devGpibParmBlock devSupParms;
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
@@ -674,7 +674,7 @@ static struct gpibCmd gpibCmds[] =
|
||||
* when an unsolicited SRQ is detected.
|
||||
*
|
||||
******************************************************************************/
|
||||
struct devGpibParmBlock devSupParms = {
|
||||
static struct devGpibParmBlock devSupParms = {
|
||||
&Dg535Debug, /* debugging flag pointer */
|
||||
-1, /* set to -1 if the device does NOT respond to writes */
|
||||
TIME_WINDOW, /* # of clock ticks to skip after a device times out */
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
#include <devCommonGpib.h>
|
||||
|
||||
long init_dev_sup(), report();
|
||||
struct devGpibParmBlock devSupParms;
|
||||
static struct devGpibParmBlock devSupParms;
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
@@ -258,7 +258,7 @@ static struct gpibCmd gpibCmds[] =
|
||||
* when an unsolicited SRQ is detected.
|
||||
*
|
||||
******************************************************************************/
|
||||
struct devGpibParmBlock devSupParms = {
|
||||
static struct devGpibParmBlock devSupParms = {
|
||||
&K196Debug, /* debugging flag pointer */
|
||||
-1, /* set to -1 if the device does NOT respond to writes */
|
||||
TIME_WINDOW, /* # of clock ticks to skip after a device times out */
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
#include <devCommonGpib.h>
|
||||
|
||||
long init_dev_sup(), report();
|
||||
struct devGpibParmBlock devSupParms;
|
||||
static struct devGpibParmBlock devSupParms;
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
@@ -257,7 +257,7 @@ static struct gpibCmd gpibCmds[] =
|
||||
* when an unsolicited SRQ is detected.
|
||||
*
|
||||
******************************************************************************/
|
||||
struct devGpibParmBlock devSupParms = {
|
||||
static struct devGpibParmBlock devSupParms = {
|
||||
&K263Debug, /* debugging flag pointer */
|
||||
-1, /* set to -1 if the device does NOT respond to writes */
|
||||
TIME_WINDOW, /* # of clock ticks to skip after a device times out */
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
long init_dev_sup(), report();
|
||||
int srqHandler();
|
||||
int aiGpibSrq(), liGpibSrq(), biGpibSrq(), mbbiGpibSrq(), stringinGpibSrq();
|
||||
struct devGpibParmBlock devSupParms;
|
||||
static struct devGpibParmBlock devSupParms;
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
@@ -215,7 +215,7 @@ static struct gpibCmd gpibCmds[] =
|
||||
* when an unsolicited SRQ is detected.
|
||||
*
|
||||
******************************************************************************/
|
||||
struct devGpibParmBlock devSupParms = {
|
||||
static struct devGpibParmBlock devSupParms = {
|
||||
&sr620Debug, /* debugging flag pointer */
|
||||
-1, /* device does not respond to writes */
|
||||
TIME_WINDOW, /* # of clock ticks to skip after a device times out */
|
||||
|
||||
@@ -88,7 +88,7 @@
|
||||
long init_dev_sup(), report();
|
||||
int srqHandler();
|
||||
int aiGpibSrq(), liGpibSrq(), biGpibSrq(), mbbiGpibSrq(), stringinGpibSrq();
|
||||
struct devGpibParmBlock devSupParms;
|
||||
static struct devGpibParmBlock devSupParms;
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
@@ -280,7 +280,7 @@ static struct gpibCmd gpibCmds[] =
|
||||
* scanned"... not passive.
|
||||
*
|
||||
******************************************************************************/
|
||||
struct devGpibParmBlock devSupParms = {
|
||||
static struct devGpibParmBlock devSupParms = {
|
||||
&Dc5009Debug, /* debugging flag pointer */
|
||||
-1, /* device does not respond to writes */
|
||||
TIME_WINDOW, /* # of clock ticks to skip after a device times out */
|
||||
|
||||
@@ -81,7 +81,7 @@
|
||||
long init_dev_sup(), report();
|
||||
int srqHandler();
|
||||
int aiGpibSrq(), liGpibSrq(), biGpibSrq(), mbbiGpibSrq(), stringinGpibSrq();
|
||||
struct devGpibParmBlock devSupParms;
|
||||
static struct devGpibParmBlock devSupParms;
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
@@ -674,7 +674,7 @@ static struct gpibCmd gpibCmds[] =
|
||||
* when an unsolicited SRQ is detected.
|
||||
*
|
||||
******************************************************************************/
|
||||
struct devGpibParmBlock devSupParms = {
|
||||
static struct devGpibParmBlock devSupParms = {
|
||||
&Dg535Debug, /* debugging flag pointer */
|
||||
-1, /* set to -1 if the device does NOT respond to writes */
|
||||
TIME_WINDOW, /* # of clock ticks to skip after a device times out */
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
#include <devCommonGpib.h>
|
||||
|
||||
long init_dev_sup(), report();
|
||||
struct devGpibParmBlock devSupParms;
|
||||
static struct devGpibParmBlock devSupParms;
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
@@ -258,7 +258,7 @@ static struct gpibCmd gpibCmds[] =
|
||||
* when an unsolicited SRQ is detected.
|
||||
*
|
||||
******************************************************************************/
|
||||
struct devGpibParmBlock devSupParms = {
|
||||
static struct devGpibParmBlock devSupParms = {
|
||||
&K196Debug, /* debugging flag pointer */
|
||||
-1, /* set to -1 if the device does NOT respond to writes */
|
||||
TIME_WINDOW, /* # of clock ticks to skip after a device times out */
|
||||
|
||||
@@ -79,7 +79,7 @@
|
||||
#include <devCommonGpib.h>
|
||||
|
||||
long init_dev_sup(), report();
|
||||
struct devGpibParmBlock devSupParms;
|
||||
static struct devGpibParmBlock devSupParms;
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
@@ -257,7 +257,7 @@ static struct gpibCmd gpibCmds[] =
|
||||
* when an unsolicited SRQ is detected.
|
||||
*
|
||||
******************************************************************************/
|
||||
struct devGpibParmBlock devSupParms = {
|
||||
static struct devGpibParmBlock devSupParms = {
|
||||
&K263Debug, /* debugging flag pointer */
|
||||
-1, /* set to -1 if the device does NOT respond to writes */
|
||||
TIME_WINDOW, /* # of clock ticks to skip after a device times out */
|
||||
|
||||
@@ -80,7 +80,7 @@
|
||||
long init_dev_sup(), report();
|
||||
int srqHandler();
|
||||
int aiGpibSrq(), liGpibSrq(), biGpibSrq(), mbbiGpibSrq(), stringinGpibSrq();
|
||||
struct devGpibParmBlock devSupParms;
|
||||
static struct devGpibParmBlock devSupParms;
|
||||
|
||||
/******************************************************************************
|
||||
*
|
||||
@@ -215,7 +215,7 @@ static struct gpibCmd gpibCmds[] =
|
||||
* when an unsolicited SRQ is detected.
|
||||
*
|
||||
******************************************************************************/
|
||||
struct devGpibParmBlock devSupParms = {
|
||||
static struct devGpibParmBlock devSupParms = {
|
||||
&sr620Debug, /* debugging flag pointer */
|
||||
-1, /* device does not respond to writes */
|
||||
TIME_WINDOW, /* # of clock ticks to skip after a device times out */
|
||||
|
||||
Reference in New Issue
Block a user