Changeset d7dfa05 in mainline for kernel/generic/include/proc/thread.h


Ignore:
Timestamp:
2019-06-20T14:07:25Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Children:
5acf533
Parents:
64b7854
Message:

Make the types ccheck-safe

Instead of using uspace_ptr(char), use uspace_ptr_char which is
defined as #define uspace_ptr_char uspace_ptr(char).

File:
1 edited

Legend:

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

    r64b7854 rd7dfa05  
    265265
    266266/* Thread syscall prototypes. */
    267 extern sys_errno_t sys_thread_create(uspace_ptr(uspace_arg_t), uspace_ptr(char), size_t,
    268     uspace_ptr(thread_id_t));
     267extern sys_errno_t sys_thread_create(uspace_ptr_uspace_arg_t, uspace_ptr_char, size_t,
     268    uspace_ptr_thread_id_t);
    269269extern sys_errno_t sys_thread_exit(int);
    270 extern sys_errno_t sys_thread_get_id(uspace_ptr(thread_id_t));
     270extern sys_errno_t sys_thread_get_id(uspace_ptr_thread_id_t);
    271271extern sys_errno_t sys_thread_usleep(uint32_t);
    272272extern sys_errno_t sys_thread_udelay(uint32_t);
Note: See TracChangeset for help on using the changeset viewer.