Export private dbLock*Ref() functions for tests

This commit is contained in:
Andrew Johnson
2015-08-19 11:26:47 -05:00
parent 180f40c1f7
commit 536c6e91ff

View File

@@ -84,9 +84,10 @@ struct dbLocker {
lockRecordRef refs[DBLOCKER_NALLOC]; /* actual length is maxrefs */
};
lockSet* dbLockGetRef(lockRecord *lr); /* lookup lockset and increment ref count */
void dbLockIncRef(lockSet* ls);
void dbLockDecRef(lockSet *ls);
/* These are exported for testing only */
epicsShareFunc lockSet* dbLockGetRef(lockRecord *lr); /* lookup lockset and increment ref count */
epicsShareFunc void dbLockIncRef(lockSet* ls);
epicsShareFunc void dbLockDecRef(lockSet *ls);
/* Calling dbLockerPrepare directly is an internal
* optimization used when dbLocker on the stack.