Changeset 6a208fc in mainline for uspace/srv/hid/input/input.c


Ignore:
Timestamp:
2020-12-31T21:27:13Z (3 years ago)
Author:
Matthieu Riolo <matthieu.riolo@…>
Children:
8fb674b
Parents:
a76ba5f3
git-author:
Matthieu Riolo <matthieu.riolo@…> (2020-06-27 11:48:20)
git-committer:
Matthieu Riolo <matthieu.riolo@…> (2020-12-31 21:27:13)
Message:

Renaming some functions and constants according to feedback from view

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/srv/hid/input/input.c

    ra76ba5f3 r6a208fc  
    137137}
    138138
    139 /* Handler for IPC call INPUT_CHANGE_LAYOUT */
    140 static void client_change_layout_handler(ipc_call_t *call)
     139/* Handler for IPC call INPUT_SET_LAYOUT */
     140static void client_set_layout_srv(ipc_call_t *call)
    141141{
    142142        void *layout_name;
     
    153153
    154154/* Handler for IPC call INPUT_GET_LAYOUT */
    155 static void client_get_layout_handler(ipc_call_t *call)
     155static void client_get_layout_srv(ipc_call_t *call)
    156156{
    157157        const char *layout_name = layout_active->name;
     
    419419                                async_answer_0(&call, EOK);
    420420                                break;
    421                         case INPUT_CHANGE_LAYOUT:
    422                                 client_change_layout_handler(&call);
     421                        case INPUT_SET_LAYOUT:
     422                                client_set_layout_srv(&call);
    423423                                break;
    424424                        case INPUT_GET_LAYOUT:
    425                                 client_get_layout_handler(&call);
     425                                client_get_layout_srv(&call);
    426426                                break;
    427427                        default:
Note: See TracChangeset for help on using the changeset viewer.