removed all refs to process in callback

This commit is contained in:
Marty Kraimer
1994-02-23 14:50:38 +00:00
parent a1e19403d9
commit c511388a72
+1 -4
View File
@@ -116,7 +116,6 @@ struct callback {
int priority;
struct dbAddr dbAddr;
WDOG_ID wd_id;
void (*process)();
};
/*
@@ -158,9 +157,8 @@ static long init_record(phistogram,pass)
{
struct histogramdset *pdset;
long status;
struct callback *pcallback=(struct callback *)(phistogram->wdog);
struct callback *pcallback;
float wait_time;
void (*process)()=NULL;
if (pass==0){
@@ -176,7 +174,6 @@ static long init_record(phistogram,pass)
return(0);
}
pcallback->process = process;
if(phistogram->wdog==NULL && phistogram->sdel!=0) {
/* initialize a watchdog timer */
pcallback = (struct callback *)(calloc(1,sizeof(struct callback)));