From 74693a35c3ed2496f4d45fd8288b5011ebbe1a46 Mon Sep 17 00:00:00 2001 From: "Janet B. Anderson" Date: Wed, 6 Mar 1991 17:27:14 +0000 Subject: [PATCH] jba 3/6/91 --- src/drv/drvAb.c | 6 +++--- src/drv/drvAt5Vxi.c | 6 +++--- src/drv/drvCompuSm.c | 6 +++--- src/drv/drvDvx.c | 6 +++--- src/drv/drvJgvtr1.c | 6 +++--- src/drv/drvMz8310.c | 6 +++--- src/drv/drvOms.c | 7 +++---- src/drv/drvStc.c | 6 +++--- src/drv/drvTime.c | 6 +++--- src/drv/drvXy566.c | 9 +++++---- 10 files changed, 32 insertions(+), 32 deletions(-) diff --git a/src/drv/drvAb.c b/src/drv/drvAb.c index ce4c57351..b8b93cc36 100644 --- a/src/drv/drvAb.c +++ b/src/drv/drvAb.c @@ -25,13 +25,13 @@ extern short ab_cmd_to[AB_MAX_LINKS][AB_MAX_ADAPTERS][AB_MAX_CARDS]; extern unsigned short ab_config[AB_MAX_LINKS][AB_MAX_ADAPTERS][AB_MAX_CARDS]; /* If any of the following does not exist replace it with #define <> NULL */ -int report(); -int init(); +static long report(); +static long init(); struct { long number; DRVSUPFUN report; - DRVSUPFUN init + DRVSUPFUN init; } drvAb={ 2, report, diff --git a/src/drv/drvAt5Vxi.c b/src/drv/drvAt5Vxi.c index 1f04cb857..a34ce704e 100644 --- a/src/drv/drvAt5Vxi.c +++ b/src/drv/drvAt5Vxi.c @@ -12,13 +12,13 @@ /* If any of the following does not exist replace it with #define <> NULL */ -int report(); -int init(); +static long report(); +static long init(); struct { long number; DRVSUPFUN report; - DRVSUPFUN init + DRVSUPFUN init; } drvAt5Vxi={ 2, report, diff --git a/src/drv/drvCompuSm.c b/src/drv/drvCompuSm.c index 92d0f37a7..621da6110 100644 --- a/src/drv/drvCompuSm.c +++ b/src/drv/drvCompuSm.c @@ -14,13 +14,13 @@ extern struct compumotor *pcompu_motors[]; /* stepper motor - CM1830 */ /* If any of the following does not exist replace it with #define <> NULL */ -int report(); -int init(); +static long report(); +static long init(); struct { long number; DRVSUPFUN report; - DRVSUPFUN init + DRVSUPFUN init; } drvCompuSm={ 2, report, diff --git a/src/drv/drvDvx.c b/src/drv/drvDvx.c index 6fb6e1929..6e40352d8 100644 --- a/src/drv/drvDvx.c +++ b/src/drv/drvDvx.c @@ -13,13 +13,13 @@ /* If any of the following does not exist replace it with #define <> NULL */ -int report(); -int init(); +static long report(); +static long init(); struct { long number; DRVSUPFUN report; - DRVSUPFUN init + DRVSUPFUN init; } drvDvx={ 2, report, diff --git a/src/drv/drvJgvtr1.c b/src/drv/drvJgvtr1.c index a47bd137a..60becffd3 100644 --- a/src/drv/drvJgvtr1.c +++ b/src/drv/drvJgvtr1.c @@ -12,13 +12,13 @@ /* If any of the following does not exist replace it with #define <> NULL */ -int report(); -int init(); +static long report(); +static long init(); struct { long number; DRVSUPFUN report; - DRVSUPFUN init + DRVSUPFUN init; } drvJgvtr1={ 2, report, diff --git a/src/drv/drvMz8310.c b/src/drv/drvMz8310.c index de7de7778..70d2cf2f6 100644 --- a/src/drv/drvMz8310.c +++ b/src/drv/drvMz8310.c @@ -12,13 +12,13 @@ /* If any of the following does not exist replace it with #define <> NULL */ -int report(); -int init(); +static long report(); +static long init(); struct { long number; DRVSUPFUN report; - DRVSUPFUN init + DRVSUPFUN init; } drvMz8310={ 2, report, diff --git a/src/drv/drvOms.c b/src/drv/drvOms.c index 554bc4b27..9ff827b4e 100644 --- a/src/drv/drvOms.c +++ b/src/drv/drvOms.c @@ -14,13 +14,13 @@ extern struct vmex_motor *oms_motor_present[]; /* stepper motor - OMS */ /* If any of the following does not exist replace it with #define <> NULL */ -int report(); -int init(); +static long report(); +static long init(); struct { long number; DRVSUPFUN report; - DRVSUPFUN init + DRVSUPFUN init; } drvOms={ 2, report, @@ -39,6 +39,5 @@ static long init() { int status; - ai_init(); return(0); } diff --git a/src/drv/drvStc.c b/src/drv/drvStc.c index 3495a8a0c..2880b5919 100644 --- a/src/drv/drvStc.c +++ b/src/drv/drvStc.c @@ -12,13 +12,13 @@ /* If any of the following does not exist replace it with #define <> NULL */ -int report(); -int init(); +static long report(); +static long init(); struct { long number; DRVSUPFUN report; - DRVSUPFUN init + DRVSUPFUN init; } drvStc={ 2, report, diff --git a/src/drv/drvTime.c b/src/drv/drvTime.c index 5fd7eb012..b0f4856ba 100644 --- a/src/drv/drvTime.c +++ b/src/drv/drvTime.c @@ -12,13 +12,13 @@ /* If any of the following does not exist replace it with #define <> NULL */ -int report(); -int init(); +static long report(); +static long init(); struct { long number; DRVSUPFUN report; - DRVSUPFUN init + DRVSUPFUN init; } drvTime={ 2, report, diff --git a/src/drv/drvXy566.c b/src/drv/drvXy566.c index c72f36d18..f0eb95b23 100644 --- a/src/drv/drvXy566.c +++ b/src/drv/drvXy566.c @@ -12,12 +12,13 @@ /* If any of the following does not exist replace it with #define <> NULL */ -int report(); -int init(); +static long report(); +static long init(); + struct { long number; DRVSUPFUN report; - DRVSUPFUN init + DRVSUPFUN init; } drvXy566={ 2, report, @@ -30,7 +31,7 @@ static long report(fp) return(0); } -static int init() +static long init() { return(0);