oops again, incomplete long policy

git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5843 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
Jean-Philippe Bernardy 2005-02-07 22:56:37 +00:00
parent 43cc13bd30
commit f64939eeda
3 changed files with 6 additions and 6 deletions

View file

@ -239,7 +239,7 @@ bool clean_shutdown(void)
return false;
}
int default_event_handler_ex(long event, void (*callback)(void *), void *parameter)
long default_event_handler_ex(long event, void (*callback)(void *), void *parameter)
{
switch(event)
{
@ -261,7 +261,7 @@ int default_event_handler_ex(long event, void (*callback)(void *), void *paramet
return 0;
}
int default_event_handler(long event)
long default_event_handler(long event)
{
return default_event_handler_ex(event, NULL, NULL);
}

View file

@ -42,7 +42,7 @@ void screen_dump(void);
bool settings_parseline(char* line, char** name, char** value);
bool clean_shutdown(void);
int default_event_handler_ex(int event, void (*callback)(void *), void *parameter);
int default_event_handler(int event);
long default_event_handler_ex(long event, void (*callback)(void *), void *parameter);
long default_event_handler(long event);
#endif

View file

@ -191,8 +191,8 @@ struct plugin_api {
void (*sleep)(int ticks);
void (*yield)(void);
long* current_tick;
int (*default_event_handler)(long event);
int (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
long (*default_event_handler)(long event);
long (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
int (*create_thread)(void* function, void* stack, int stack_size, const char *name);
void (*remove_thread)(int threadnum);
void (*reset_poweroff_timer)(void);