Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/packet/generic/packet_server.c

    r6b82009 r79ae36dd  
    3636
    3737#include <packet_server.h>
     38
    3839#include <align.h>
    3940#include <assert.h>
     
    316317 *                      packet_release_wrapper() function.
    317318 */
    318 int packet_server_message(ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer,
     319int
     320packet_server_message(ipc_callid_t callid, ipc_call_t *call, ipc_call_t *answer,
    319321    size_t *answer_count)
    320322{
    321323        packet_t *packet;
     324
     325        *answer_count = 0;
    322326       
    323327        if (!IPC_GET_IMETHOD(*call))
    324328                return EOK;
    325329       
    326         *answer_count = 0;
    327330        switch (IPC_GET_IMETHOD(*call)) {
    328331        case NET_PACKET_CREATE_1:
Note: See TracChangeset for help on using the changeset viewer.