mirror of
https://github.com/libretro/RetroArch
synced 2025-02-05 15:40:04 +00:00
Prevent redefinition of struct
This commit is contained in:
parent
d7a918397c
commit
b437565059
3
driver.h
3
driver.h
@ -29,6 +29,7 @@
|
||||
#include "gfx/filters/softfilter.h"
|
||||
#include "gfx/shader/shader_parse.h"
|
||||
#include "audio/dsp_filter.h"
|
||||
#include "input/input_context.h"
|
||||
#include "input/overlay.h"
|
||||
#include "frontend/frontend_context.h"
|
||||
#include <retro_miscellaneous.h>
|
||||
@ -240,8 +241,6 @@ enum analog_dpad_mode
|
||||
ANALOG_DPAD_LAST
|
||||
};
|
||||
|
||||
typedef struct rarch_joypad_driver rarch_joypad_driver_t;
|
||||
|
||||
typedef struct input_driver
|
||||
{
|
||||
void *(*init)(void);
|
||||
|
@ -24,7 +24,6 @@ extern "C" {
|
||||
#include <stdint.h>
|
||||
#include <boolean.h>
|
||||
|
||||
typedef struct rarch_joypad_driver rarch_joypad_driver_t;
|
||||
enum retro_rumble_effect;
|
||||
|
||||
struct rarch_joypad_driver
|
||||
@ -40,6 +39,8 @@ struct rarch_joypad_driver
|
||||
|
||||
const char *ident;
|
||||
};
|
||||
|
||||
typedef struct rarch_joypad_driver rarch_joypad_driver_t;
|
||||
|
||||
/* If ident points to NULL or a zero-length string,
|
||||
* equivalent to calling input_joypad_init_first(). */
|
||||
|
Loading…
x
Reference in New Issue
Block a user