libDtSearch: Untangle large numbers of TASK_ macros that were all unused code

This commit is contained in:
Peter Howkins
2018-06-29 01:45:29 +01:00
parent 86b9a0fee4
commit 60edbd3491
69 changed files with 100 additions and 186 deletions

View File

@@ -53,9 +53,8 @@
/* Store optional key value
*/
int
d_keystore(field TASK_PARM DBN_PARM)
d_keystore(field DBN_PARM)
long field; /* key field constant */
TASK_DECL
DBN_DECL /* database number */
{
int fld; /* field number */
@@ -77,7 +76,7 @@ DBN_DECL /* database number */
RETURN( dberr(S_NOCR) );
/* ensure current record is valid for this field */
d_crtype(&rn TASK_PARM DBN_PARM);
d_crtype(&rn DBN_PARM);
if (rec != NUM2INT(rn - RECMARK, rt_offset))
RETURN( dberr(S_BADFIELD) );