Changeset ab87db5 in mainline for uspace/srv/hid/input/input.c


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/input.c

    rbc417660 rab87db5  
    334334                async_get_call(&call);
    335335
    336                 if (!IPC_GET_IMETHOD(call)) {
     336                if (!ipc_get_imethod(&call)) {
    337337                        if (client->sess != NULL) {
    338338                                async_hangup(client->sess);
     
    353353                                async_answer_0(&call, ELIMIT);
    354354                } else {
    355                         switch (IPC_GET_IMETHOD(call)) {
     355                        switch (ipc_get_imethod(&call)) {
    356356                        case INPUT_ACTIVATE:
    357357                                active_client = client;
     
    368368static void kconsole_event_handler(ipc_call_t *call, void *arg)
    369369{
    370         if (IPC_GET_ARG1(*call)) {
     370        if (ipc_get_arg1(call)) {
    371371                /* Kernel console activated */
    372372                active = false;
Note: See TracChangeset for help on using the changeset viewer.