37 lines
881 B
C
37 lines
881 B
C
/****************************************************************
|
|
* *
|
|
* Copyright 2001, 2004 Sanchez Computer Associates, Inc. *
|
|
* *
|
|
* This source code contains the intellectual property *
|
|
* of its copyright holder(s), and is made available *
|
|
* under a license. If you do not know the terms of *
|
|
* the license, please stop and do not read further. *
|
|
* *
|
|
****************************************************************/
|
|
|
|
#include "mdef.h"
|
|
#include "mlkdef.h"
|
|
#include "locklits.h"
|
|
#include "cmidef.h"
|
|
#include "hashtab_mname.h" /* needed for cmmdef.h */
|
|
#include "cmmdef.h"
|
|
#include "gt_timer.h"
|
|
#include "gtcmlkdef.h"
|
|
#include "gtcml.h"
|
|
|
|
GBLREF short cm_cmd_lk_ct;
|
|
GBLREF mlk_pvtblk *mlk_cm_root;
|
|
|
|
void gtcml_lckclr(void)
|
|
{
|
|
short i;
|
|
mlk_pvtblk *p1;
|
|
|
|
p1 = mlk_cm_root;
|
|
for (i = 0; i < cm_cmd_lk_ct; i++)
|
|
{
|
|
p1->trans = 0;
|
|
p1 = p1->next;
|
|
}
|
|
}
|