fix qualified void return
This commit is contained in:
parent
b85be44eb5
commit
dce663c5ed
2 changed files with 2 additions and 2 deletions
|
@ -396,7 +396,7 @@ const char* gamepad_devicename(int num) {
|
|||
return SDL_GameControllerNameForIndex(gamepad.devices.id_map[num]);
|
||||
}
|
||||
|
||||
const void gamepad_deviceguid(int num, char *guid_str, size_t guid_str_sz) {
|
||||
void gamepad_deviceguid(int num, char *guid_str, size_t guid_str_sz) {
|
||||
if(num < 0 || num >= gamepad.devices.count) {
|
||||
return;
|
||||
}
|
||||
|
|
|
@ -22,7 +22,7 @@ void gamepad_event(SDL_Event*, EventHandler, EventFlags, void*);
|
|||
|
||||
int gamepad_devicecount(void);
|
||||
const char* gamepad_devicename(int);
|
||||
const void gamepad_deviceguid(int num, char *guid_str, size_t guid_str_sz);
|
||||
void gamepad_deviceguid(int num, char *guid_str, size_t guid_str_sz);
|
||||
int gamepad_numfromguid(const char *guid_str);
|
||||
int gamepad_currentdevice(void);
|
||||
|
||||
|
|
Loading…
Reference in a new issue