Changeset ab87db5 in mainline for uspace/srv/logger/writer.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/logger/writer.c

    rbc417660 rab87db5  
    109109                async_get_call(&call);
    110110
    111                 if (!IPC_GET_IMETHOD(call)) {
     111                if (!ipc_get_imethod(&call)) {
    112112                        async_answer_0(&call, EOK);
    113113                        break;
    114114                }
    115115
    116                 switch (IPC_GET_IMETHOD(call)) {
     116                switch (ipc_get_imethod(&call)) {
    117117                case LOGGER_WRITER_CREATE_LOG:
    118                         log = handle_create_log(IPC_GET_ARG1(call));
     118                        log = handle_create_log(ipc_get_arg1(&call));
    119119                        if (log == NULL) {
    120120                                async_answer_0(&call, ENOMEM);
     
    130130                        break;
    131131                case LOGGER_WRITER_MESSAGE:
    132                         rc = handle_receive_message(IPC_GET_ARG1(call),
    133                             IPC_GET_ARG2(call));
     132                        rc = handle_receive_message(ipc_get_arg1(&call),
     133                            ipc_get_arg2(&call));
    134134                        async_answer_0(&call, rc);
    135135                        break;
Note: See TracChangeset for help on using the changeset viewer.