Changeset d7dfa05 in mainline for kernel/generic/src/proc/thread.c


Ignore:
Timestamp:
2019-06-20T14:07:25Z (6 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/src/proc/thread.c

    r64b7854 rd7dfa05  
    998998 *
    999999 */
    1000 sys_errno_t sys_thread_create(uspace_ptr(uspace_arg_t) uspace_uarg, uspace_ptr(char) uspace_name,
    1001     size_t name_len, uspace_ptr(thread_id_t) uspace_thread_id)
     1000sys_errno_t sys_thread_create(uspace_ptr_uspace_arg_t uspace_uarg, uspace_ptr_char uspace_name,
     1001    size_t name_len, uspace_ptr_thread_id_t uspace_thread_id)
    10021002{
    10031003        if (name_len > THREAD_NAME_BUFLEN - 1)
     
    10881088 *
    10891089 */
    1090 sys_errno_t sys_thread_get_id(uspace_ptr(thread_id_t) uspace_thread_id)
     1090sys_errno_t sys_thread_get_id(uspace_ptr_thread_id_t uspace_thread_id)
    10911091{
    10921092        /*
Note: See TracChangeset for help on using the changeset viewer.