Since opti_detect is now only called on !PC98 machines, only declare

and define there as well.  This should fix the pc98 tinderbox.
This commit is contained in:
imp 2005-09-12 04:12:50 +00:00
parent 4c95069237
commit 3f6701edb2

View File

@ -92,7 +92,9 @@ static driver_intr_t mss_intr;
/* prototypes for local functions */
static int mss_detect(device_t dev, struct mss_info *mss);
#ifndef PC98
static int opti_detect(device_t dev, struct mss_info *mss);
#endif
static char *ymf_test(device_t dev, struct mss_info *mss);
static void ad_unmute(struct mss_info *mss);
@ -1592,6 +1594,7 @@ no:
return ENXIO;
}
#ifndef PC98
static int
opti_detect(device_t dev, struct mss_info *mss)
{
@ -1637,6 +1640,7 @@ opti_detect(device_t dev, struct mss_info *mss)
}
return 0;
}
#endif
static char *
ymf_test(device_t dev, struct mss_info *mss)