fix qualified void return

This commit is contained in:
Andrei "Akari" Alexeyev 2017-09-16 09:44:39 +03:00
parent b85be44eb5
commit dce663c5ed
No known key found for this signature in database
GPG key ID: 048C3D2A5648B785
2 changed files with 2 additions and 2 deletions

View file

@ -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;
}

View file

@ -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);