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

Changeset 0c42638 in mainline


Ignore:
Timestamp:
2010-05-02T10:32:37Z (11 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master
Children:
278b4a30
Parents:
4ce914d4
Message:

Remove names of formal arguments from task.h.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/include/proc/task.h

    r4ce914d4 r0c42638  
    11/*
    2  * Copyright (c) 2001-2004 Jakub Jermar
     2 * Copyright (c) 2010 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    131131extern void task_init(void);
    132132extern void task_done(void);
    133 extern task_t *task_create(as_t *as, const char *name);
    134 extern void task_destroy(task_t *t);
    135 extern task_t *task_find_by_id(task_id_t id);
    136 extern int task_kill(task_id_t id);
    137 extern void task_get_accounting(task_t *t, uint64_t *ucycles, uint64_t *kcycles);
     133extern task_t *task_create(as_t *, const char *);
     134extern void task_destroy(task_t *);
     135extern task_t *task_find_by_id(task_id_t);
     136extern int task_kill(task_id_t);
     137extern void task_get_accounting(task_t *, uint64_t *, uint64_t *);
    138138extern void task_print_list(void);
    139139
    140 extern void cap_set(task_t *t, cap_t caps);
    141 extern cap_t cap_get(task_t *t);
     140extern void cap_set(task_t *, cap_t);
     141extern cap_t cap_get(task_t *);
    142142
    143143#ifndef task_create_arch
    144 extern void task_create_arch(task_t *t);
     144extern void task_create_arch(task_t *);
    145145#endif
    146146
    147147#ifndef task_destroy_arch
    148 extern void task_destroy_arch(task_t *t);
     148extern void task_destroy_arch(task_t *);
    149149#endif
    150150
    151 extern unative_t sys_task_get_id(task_id_t *uspace_task_id);
    152 extern unative_t sys_task_set_name(const char *uspace_name, size_t name_len);
     151extern unative_t sys_task_get_id(task_id_t *);
     152extern unative_t sys_task_set_name(const char *, size_t);
    153153
    154154#endif
Note: See TracChangeset for help on using the changeset viewer.