Fork us on GitHub Follow us on Facebook Follow us on Twitter

Changeset c2cf033 in mainline


Ignore:
Timestamp:
2011-08-19T11:29:20Z (10 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
89660f2, d767cb1
Parents:
42a619b
Message:

Do not redefine task_t in event.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/ipc/event.h

    r42a619b rc2cf033  
    4141#include <ipc/ipc.h>
    4242
    43 typedef struct task task_t;
     43struct task;
    4444
    4545typedef void (*event_callback_t)(void *);
     
    6363
    6464extern void event_init(void);
    65 extern void event_task_init(task_t *);
     65extern void event_task_init(struct task *);
    6666extern void event_cleanup_answerbox(answerbox_t *);
    6767extern void event_set_unmask_callback(event_type_t, event_callback_t);
    68 extern void event_task_set_unmask_callback(task_t *, event_task_type_t,
     68extern void event_task_set_unmask_callback(struct task *, event_task_type_t,
    6969    event_callback_t);
    7070
     
    9797extern int event_notify(event_type_t, bool, sysarg_t, sysarg_t, sysarg_t,
    9898    sysarg_t, sysarg_t);
    99 extern int event_task_notify(task_t *, event_task_type_t, bool, sysarg_t, sysarg_t,
     99extern int event_task_notify(struct task *, event_task_type_t, bool, sysarg_t, sysarg_t,
    100100    sysarg_t, sysarg_t, sysarg_t);
    101101
Note: See TracChangeset for help on using the changeset viewer.