Make example get_ioint_info() routine static

This commit is contained in:
Andrew Johnson
2018-10-23 15:45:39 -05:00
parent c6476fbbdc
commit 06f522b253
+1 -1
View File
@@ -88,7 +88,7 @@ typedef struct typed_dset {
// init_record() routine calls
scanIoInit(&pvt->drvlist);
...
long my_get_ioint_info(int detach, struct dbCommon *prec, IOCSCANPVT* pscan) {
static long get_ioint_info(int detach, struct dbCommon *prec, IOCSCANPVT* pscan) {
if(prec->dpvt)
*pscan = &((mypvt*)prec->dpvt)->drvlist;
@endcode