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

    rbc417660 rab87db5  
    5353        size_t size;
    5454
    55         switch (IPC_GET_ARG1(*req)) {
     55        switch (ipc_get_arg1(req)) {
    5656        case CLIPBOARD_TAG_NONE:
    5757                fibril_mutex_lock(&clip_mtx);
     
    9999
    100100        /* Check for clipboard data tag compatibility */
    101         switch (IPC_GET_ARG1(*req)) {
     101        switch (ipc_get_arg1(req)) {
    102102        case CLIPBOARD_TAG_DATA:
    103103                if (!async_data_read_receive(&call, &size)) {
     
    161161                async_get_call(&call);
    162162
    163                 if (!IPC_GET_IMETHOD(call)) {
     163                if (!ipc_get_imethod(&call)) {
    164164                        async_answer_0(&call, EOK);
    165165                        break;
    166166                }
    167167
    168                 switch (IPC_GET_IMETHOD(call)) {
     168                switch (ipc_get_imethod(&call)) {
    169169                case CLIPBOARD_PUT_DATA:
    170170                        clip_put_data(&call);
Note: See TracChangeset for help on using the changeset viewer.