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

@@ -55,9 +55,8 @@
of the database
*/
int
d_destroy(dbname TASK_PARM)
d_destroy(dbname)
const char *dbname;
TASK_DECL
{
int ft_lc; /* loop control */
FILE_ENTRY *file_ptr;
@@ -65,7 +64,7 @@ TASK_DECL
DB_ENTER(NO_DB_ID TASK_ID LOCK_SET(LOCK_ALL));
/* database must be closed (might be multiple databases open) */
if ( dbopen ) d_close(TASK_ONLY);
if ( dbopen ) d_close();
/* prepare for the inittab and read in the database tables */
if ((initdbt(dbname) != S_OKAY) || (inittab() != S_OKAY))