forked from enlightenment/efl
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:
parent
9b184f9bdf
commit
8027de6bd8
|
@ -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)
|
||||
{
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue