forked from len0rd/rockbox
long policy
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@5839 a1c6a512-1295-4272-9138-f99709370657
This commit is contained in:
parent
151bf71895
commit
947dceb205
3 changed files with 4 additions and 4 deletions
|
|
@ -239,7 +239,7 @@ bool clean_shutdown(void)
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
int default_event_handler_ex(int event, void (*callback)(void *), void *parameter)
|
int default_event_handler_ex(long event, void (*callback)(void *), void *parameter)
|
||||||
{
|
{
|
||||||
switch(event)
|
switch(event)
|
||||||
{
|
{
|
||||||
|
|
@ -261,7 +261,7 @@ int default_event_handler_ex(int event, void (*callback)(void *), void *paramete
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int default_event_handler(int event)
|
int default_event_handler(long event)
|
||||||
{
|
{
|
||||||
return default_event_handler_ex(event, NULL, NULL);
|
return default_event_handler_ex(event, NULL, NULL);
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -192,7 +192,7 @@ struct plugin_api {
|
||||||
void (*yield)(void);
|
void (*yield)(void);
|
||||||
long* current_tick;
|
long* current_tick;
|
||||||
int (*default_event_handler)(int event);
|
int (*default_event_handler)(int event);
|
||||||
int (*default_event_handler_ex)(int event, void (*callback)(void *), void *parameter);
|
int (*default_event_handler_ex)(long event, void (*callback)(void *), void *parameter);
|
||||||
int (*create_thread)(void* function, void* stack, int stack_size, const char *name);
|
int (*create_thread)(void* function, void* stack, int stack_size, const char *name);
|
||||||
void (*remove_thread)(int threadnum);
|
void (*remove_thread)(int threadnum);
|
||||||
void (*reset_poweroff_timer)(void);
|
void (*reset_poweroff_timer)(void);
|
||||||
|
|
|
||||||
|
|
@ -65,7 +65,7 @@ typedef unsigned int mode_t;
|
||||||
|
|
||||||
#ifndef _SIZE_T
|
#ifndef _SIZE_T
|
||||||
#define _SIZE_T
|
#define _SIZE_T
|
||||||
typedef unsigned int size_t;
|
typedef unsigned long size_t;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
typedef int (*open_func)(const char* pathname, int flags);
|
typedef int (*open_func)(const char* pathname, int flags);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue