Two minor fixes:

1) Added 3 prototypes to evas_test_main.h for setdown, scroll_setdown, and scroll_setup.
GCC prints a warning for first declaration without a proto, but other compilers (FORTE) error on it.
2) Added type to did_fps, currently a boolian var, which was declaired only static... typed it as int.

benr.


SVN revision: 6595
This commit is contained in:
technikolor 2003-01-19 06:23:25 +00:00 committed by technikolor
parent 9b184f9bdf
commit 8027de6bd8
2 changed files with 6 additions and 1 deletions

View File

@ -255,7 +255,7 @@ loop(void)
else if (t <= 36.0)
{
double tw, th;
static did_fps = 0;
static int did_fps = 0;
if (!did_fps)
{

View File

@ -37,6 +37,11 @@ double get_time(void);
void loop(void);
void setup(void);
void setdown(void);
void scroll_setdown(void);
void scroll_setup(void);
#ifdef __cplusplus
}
#endif