mirror of
https://github.com/libretro/RetroArch.git
synced 2025-02-08 18:36:28 +00:00
(Apple/Location) Build fixes
This commit is contained in:
parent
e983aa4c35
commit
d092413d63
@ -711,7 +711,7 @@ static void *apple_location_init(int interval_update_ms, int interval_distance)
|
||||
return applelocation;
|
||||
}
|
||||
|
||||
static void *apple_location_set_interval(void *data, int interval_update_ms, int interval_distance)
|
||||
static void apple_location_set_interval(void *data, int interval_update_ms, int interval_distance)
|
||||
{
|
||||
(void)data;
|
||||
|
||||
@ -766,7 +766,7 @@ const location_driver_t location_apple = {
|
||||
apple_location_stop,
|
||||
apple_location_get_longitude,
|
||||
apple_location_get_latitude,
|
||||
apple_location_set_interval,
|
||||
apple_location_set_interval,
|
||||
"apple",
|
||||
};
|
||||
#endif
|
||||
|
2
driver.h
2
driver.h
@ -377,7 +377,7 @@ typedef struct location_driver
|
||||
|
||||
double (*get_longitude)(void *data);
|
||||
double (*get_latitude)(void *data);
|
||||
void (*set_interval)(int interval_msecs, int interval_distance);
|
||||
void (*set_interval)(void *data, int interval_msecs, int interval_distance);
|
||||
const char *ident;
|
||||
} location_driver_t;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user