void *(*create) (struct taint *, const struct caseproto *);
void (*destroy) (void *aux);
void (*push_head) (void *aux, struct ccase *);
- void (*pop_tail) (void *aux, casenumber cnt);
+ void (*pop_tail) (void *aux, casenumber n);
struct ccase *(*get_case) (void *aux, casenumber ofs);
casenumber (*get_n_cases) (const void *aux);
};
case_unref (c);
}
-/* Deletes CASE_CNT cases at the tail of casewindow CW. */
+/* Deletes N_CASES cases at the tail of casewindow CW. */
void
casewindow_pop_tail (struct casewindow *cw, casenumber n_cases)
{
}
static void
-casewindow_file_pop_tail (void *cwf_, casenumber cnt)
+casewindow_file_pop_tail (void *cwf_, casenumber n)
{
struct casewindow_file *cwf = cwf_;
- assert (cnt <= cwf->head - cwf->tail);
- cwf->tail += cnt;
+ assert (n <= cwf->head - cwf->tail);
+ cwf->tail += n;
if (cwf->head == cwf->tail)
cwf->head = cwf->tail = 0;
}