marked _internal_open_<device> functions inline
This commit is contained in:
parent
1d2e5d57e5
commit
b7a370c820
|
@ -4,7 +4,7 @@
|
|||
|
||||
static List _devices;
|
||||
|
||||
static
|
||||
static inline
|
||||
void _internal_open_keyboard() {
|
||||
InputDevice* keyboard = malloc(sizeof(InputDevice));
|
||||
*keyboard = (InputDevice){
|
||||
|
@ -19,7 +19,7 @@ void _internal_open_keyboard() {
|
|||
LOG_INFO("registered keyboard %d", keyboard->id);
|
||||
}
|
||||
|
||||
static
|
||||
static inline
|
||||
void _internal_open_controller(size_t id) {
|
||||
InputDevice* device = malloc(sizeof(InputDevice));
|
||||
*device = (InputDevice) {
|
||||
|
|
Loading…
Reference in a new issue