Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/app/trace/proto.c

    rf019cc07 rffa2c8ef  
    3535#include <stdio.h>
    3636#include <stdlib.h>
    37 #include <ipc/ipc.h>
    3837#include <adt/hash_table.h>
    3938
     
    5352
    5453typedef struct {
    55         ipcarg_t method;
     54        sysarg_t method;
    5655        oper_t *oper;
    5756        link_t link;
     
    157156}
    158157
    159 static void proto_struct_init(proto_t *proto, char *name)
     158static void proto_struct_init(proto_t *proto, const char *name)
    160159{
    161160        proto->name = name;
     
    164163}
    165164
    166 proto_t *proto_new(char *name)
     165proto_t *proto_new(const char *name)
    167166{
    168167        proto_t *p;
     
    206205}
    207206
    208 static void oper_struct_init(oper_t *oper, char *name)
     207static void oper_struct_init(oper_t *oper, const char *name)
    209208{
    210209        oper->name = name;
    211210}
    212211
    213 oper_t *oper_new(char *name, int argc, val_type_t *arg_types,
     212oper_t *oper_new(const char *name, int argc, val_type_t *arg_types,
    214213    val_type_t rv_type, int respc, val_type_t *resp_types)
    215214{
Note: See TracChangeset for help on using the changeset viewer.