Add dummy putValue methods to const link types
Includes a new softTest program to detect regressions. Resolves http://www.aps.anl.gov/epics/core-talk/2017/msg00503.php
This commit is contained in:
@@ -558,6 +558,12 @@ static long lnkConst_getValue(struct link *plink, short dbrType, void *pbuffer,
|
||||
return 0;
|
||||
}
|
||||
|
||||
static long lnkConst_putValue(struct link *plink, short dbrType,
|
||||
const void *pbuffer, long nRequest)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
|
||||
/************************* Interface Tables *************************/
|
||||
|
||||
@@ -569,7 +575,7 @@ static lset lnkConst_lset = {
|
||||
NULL, NULL, NULL,
|
||||
NULL, NULL,
|
||||
NULL, NULL,
|
||||
NULL, NULL,
|
||||
lnkConst_putValue, NULL,
|
||||
NULL, NULL
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user