Ignore:
Timestamp:
2019-02-23T17:16:01Z (5 years ago)
Author:
GitHub <noreply@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
8c193d83, ca0e838
Parents:
bc417660 (diff), 95a47b0 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2019-02-23 17:16:01)
git-committer:
GitHub <noreply@…> (2019-02-23 17:16:01)
Message:

Merge pull request #157

Turn some function-like macros into functions

File:
1 edited

Legend:

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

    rbc417660 rab87db5  
    7979                async_get_call(&call);
    8080
    81                 if (!IPC_GET_IMETHOD(call)) {
     81                if (!ipc_get_imethod(&call)) {
    8282                        async_answer_0(&call, EOK);
    8383                        mousedev_destroy(mousedev);
     
    8787                errno_t retval;
    8888
    89                 switch (IPC_GET_IMETHOD(call)) {
     89                switch (ipc_get_imethod(&call)) {
    9090                case MOUSEEV_MOVE_EVENT:
    9191                        mouse_push_event_move(mousedev->mouse_dev,
    92                             IPC_GET_ARG1(call), IPC_GET_ARG2(call),
    93                             IPC_GET_ARG3(call));
     92                            ipc_get_arg1(&call), ipc_get_arg2(&call),
     93                            ipc_get_arg3(&call));
    9494                        retval = EOK;
    9595                        break;
    9696                case MOUSEEV_ABS_MOVE_EVENT:
    9797                        mouse_push_event_abs_move(mousedev->mouse_dev,
    98                             IPC_GET_ARG1(call), IPC_GET_ARG2(call),
    99                             IPC_GET_ARG3(call), IPC_GET_ARG4(call));
     98                            ipc_get_arg1(&call), ipc_get_arg2(&call),
     99                            ipc_get_arg3(&call), ipc_get_arg4(&call));
    100100                        retval = EOK;
    101101                        break;
    102102                case MOUSEEV_BUTTON_EVENT:
    103103                        mouse_push_event_button(mousedev->mouse_dev,
    104                             IPC_GET_ARG1(call), IPC_GET_ARG2(call));
     104                            ipc_get_arg1(&call), ipc_get_arg2(&call));
    105105                        retval = EOK;
    106106                        break;
Note: See TracChangeset for help on using the changeset viewer.