Changeset 1383356 in mainline


Ignore:
Timestamp:
2008-04-07T12:53:42Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ac59a39
Parents:
12ab886
Message:

Fix missing arguments to ipc_call_sync_slow() in ipc_call_sync_4_x macros.
Contributed by Jiri Svoboda.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libc/include/ipc/ipc.h

    r12ab886 r1383356  
    131131            (res1), (res2), (res3), (res4), (res5))
    132132#define ipc_call_sync_4_0(phoneid, method, arg1, arg2, arg3, arg4) \
    133     ipc_call_sync_slow((phoneid), (method), (arg1), (arg2), (arg3), (arg4), \
     133    ipc_call_sync_slow((phoneid), (method), (arg1), (arg2), (arg3), (arg4), 0, \
    134134        0, 0, 0, 0, 0)
    135135#define ipc_call_sync_4_1(phoneid, method, arg1, arg2, arg3, arg4, res1) \
    136     ipc_call_sync_slow((phoneid), (method), (arg1), (arg2), (arg3), (arg4), \
     136    ipc_call_sync_slow((phoneid), (method), (arg1), (arg2), (arg3), (arg4), 0, \
    137137        (res1), 0, 0, 0, 0)
    138138#define ipc_call_sync_4_2(phoneid, method, arg1, arg2, arg3, arg4, res1, res2) \
    139     ipc_call_sync_slow((phoneid), (method), (arg1), (arg2), (arg3), (arg4), \
     139    ipc_call_sync_slow((phoneid), (method), (arg1), (arg2), (arg3), (arg4), 0, \
    140140        (res1), (res2), 0, 0, 0)
    141141#define ipc_call_sync_4_3(phoneid, method, arg1, arg2, arg3, arg4, res1, res2, \
    142142    res3) \
    143143        ipc_call_sync_slow((phoneid), (method), (arg1), (arg2), (arg3), \
    144             (arg4), (res1), (res2), (res3), 0, 0)
     144            (arg4), 0, (res1), (res2), (res3), 0, 0)
    145145#define ipc_call_sync_4_4(phoneid, method, arg1, arg2, arg3, arg4, res1, res2, \
    146146    res3, res4) \
    147147        ipc_call_sync_slow((phoneid), (method), (arg1), (arg2), (arg3), \
    148             (arg4), (res1), (res2), (res3), (res4), 0)
     148            (arg4), 0, (res1), (res2), (res3), (res4), 0)
    149149#define ipc_call_sync_4_5(phoneid, method, arg1, arg2, arg3, arg4, res1, res2, \
    150150    res3, res4, res5) \
    151151        ipc_call_sync_slow((phoneid), (method), (arg1), (arg2), (arg3), \
    152             (arg4), (res1), (res2), (res3), (res4), (res5))
     152            (arg4), 0, (res1), (res2), (res3), (res4), (res5))
    153153#define ipc_call_sync_5_0(phoneid, method, arg1, arg2, arg3, arg4, arg5) \
    154154    ipc_call_sync_slow((phoneid), (method), (arg1), (arg2), (arg3), (arg4), \
Note: See TracChangeset for help on using the changeset viewer.