C Code Error Help
2006-04-02 by heedaf
I'm getting the following error in CrossWorks
"multiple definition of `clear'"
when I try and run the following code. Does anyone have any
suggestions?
Thanks,
Dewayne
#define SAMPLE double /* define the type used for data samples */
/**********************************************************************
******/
/* clear: zeroize a FIR delay
line */
/**********************************************************************
******/
void clear(int ntaps, SAMPLE z[])
{
int ii;
for (ii = 0; ii < ntaps; ii++)
{
z[ii] = 0;
}
}