libDtSearch: Tidy up the LOCK and DBN macro madness
This commit is contained in:
@@ -50,9 +50,9 @@
|
||||
/* Set current owner to current record
|
||||
*/
|
||||
int
|
||||
d_setor(nset DBN_PARM)
|
||||
d_setor(nset , dbn)
|
||||
int nset; /* set number */
|
||||
DBN_DECL /* database number */
|
||||
int dbn; /* database number */
|
||||
{
|
||||
int set;
|
||||
int crtype; /* current record type */
|
||||
@@ -61,7 +61,7 @@ DBN_DECL /* database number */
|
||||
DB_ENTER(DB_ID TASK_ID LOCK_SET(SET_IO));
|
||||
|
||||
if ((nset_check(nset, &set, (SET_ENTRY * *)&set_ptr) != S_OKAY) ||
|
||||
(d_crtype(&crtype DBN_PARM) != S_OKAY))
|
||||
(d_crtype(&crtype , dbn) != S_OKAY))
|
||||
RETURN( db_status );
|
||||
|
||||
crtype += NUM2INT(-RECMARK, rt_offset);
|
||||
|
||||
Reference in New Issue
Block a user