More linting in src/device

This commit is contained in:
Jasmine Iwanek
2023-08-21 20:22:39 -04:00
parent 729aa24f1b
commit 532f8ca91f
8 changed files with 65 additions and 53 deletions

View File

@@ -546,13 +546,13 @@ mouse_set_poll(int (*func)(void *), void *arg)
mouse_priv = arg;
}
char *
const char *
mouse_get_name(int mouse)
{
return ((char *) mouse_devices[mouse].device->name);
return (mouse_devices[mouse].device->name);
}
char *
const char *
mouse_get_internal_name(int mouse)
{
return device_get_internal_name(mouse_devices[mouse].device);