/*-=-=-=-=-=-=-=-=-=-=-=- RCCL/RCI Notice of Copyright -=-=-=-=-=-=-=-=-=-=-*
 *									    *
 *	Copyright (C) 1991 by John E. Lloyd.				    *
 *									    *
 *	Information on copyright permissions, as well as a complete	    *
 *	disclaimer of warranty, is given in the file COPYRIGHT.		    *
 *									    *
 *-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=*/
/* Control level routines for the program testMisc.c */

#include "../h/rccl.h"
#include "../rccl/testMisc.h"

function1(arg)
int arg;
{
	CTRL_BLK *cbk;

	if ((cbk = (CTRL_BLK*)getMemByAddr((void*)arg)) == NULL)
	 { rciAbort (0, "can't get control block\n");
	 }
	cbk->retval1++;
}

function2(arg)
int arg;
{
	CTRL_BLK *cbk;

	if ((cbk = (CTRL_BLK*)getMemByAddr((void*)arg)) == NULL)
	 { rciAbort (0, "can't get control block\n");
	 }
	cbk->retval2++;
}
