Hi all,
I've used the single segment starterapp.c template in cw8 and simply
added a call to myfunction in the original appstart function. I get the
followiong compilation error: funciton has no prototype.

my funciton is defined in another c file, function.c, that includes its
own header and is part of the project:
# include "function.h"
static Err myfunction()
{
return 1;
}

the function.h header includes PalmOS.h and  the function prototype:
#include <PalmOS.h>
static Err myfunction(void);

What am I doing wrong? Is there any particular project setting for
multiple source file projects?
Thanks,
Massimo



-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to