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

    rbc417660 rab87db5  
    7575                async_get_call(&call);
    7676
    77                 if (!IPC_GET_IMETHOD(call)) {
     77                if (!ipc_get_imethod(&call)) {
    7878                        async_answer_0(&call, EOK);
    7979                        break;
    8080                }
    8181
    82                 switch (IPC_GET_IMETHOD(call)) {
     82                switch (ipc_get_imethod(&call)) {
    8383                case LOGGER_CONTROL_SET_DEFAULT_LEVEL:
    84                         rc = set_default_logging_level(IPC_GET_ARG1(call));
     84                        rc = set_default_logging_level(ipc_get_arg1(&call));
    8585                        async_answer_0(&call, rc);
    8686                        break;
    8787                case LOGGER_CONTROL_SET_LOG_LEVEL:
    88                         rc = handle_log_level_change(IPC_GET_ARG1(call));
     88                        rc = handle_log_level_change(ipc_get_arg1(&call));
    8989                        async_answer_0(&call, rc);
    9090                        break;
Note: See TracChangeset for help on using the changeset viewer.