Ignore:
Timestamp:
2017-11-13T20:00:07Z (6 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
0a0b3d8
Parents:
a2afd8f
Message:

Use __restrict__ instead of restrict in header files.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/posix/include/posix/pthread.h

    ra2afd8f r0dd4779  
    8080extern int pthread_attr_destroy(pthread_attr_t *);
    8181
    82 extern int pthread_mutex_init(pthread_mutex_t *restrict,
    83     const pthread_mutexattr_t *restrict);
     82extern int pthread_mutex_init(pthread_mutex_t *__restrict__,
     83    const pthread_mutexattr_t *__restrict__);
    8484extern int pthread_mutex_destroy(pthread_mutex_t *);
    8585extern int pthread_mutex_lock(pthread_mutex_t *);
     
    8989extern int pthread_mutexattr_init(pthread_mutexattr_t *);
    9090extern int pthread_mutexattr_destroy(pthread_mutexattr_t *);
    91 extern int pthread_mutexattr_gettype(const pthread_mutexattr_t *restrict,
    92     int *restrict);
     91extern int pthread_mutexattr_gettype(const pthread_mutexattr_t *__restrict__,
     92    int *__restrict__);
    9393extern int pthread_mutexattr_settype(pthread_mutexattr_t *, int);
    9494
    95 extern int pthread_cond_init(pthread_cond_t *restrict,
    96     const pthread_condattr_t *restrict);
     95extern int pthread_cond_init(pthread_cond_t *__restrict__,
     96    const pthread_condattr_t *__restrict__);
    9797extern int pthread_cond_destroy(pthread_cond_t *);
    9898extern int pthread_cond_broadcast(pthread_cond_t *);
    9999extern int pthread_cond_signal(pthread_cond_t *);
    100 extern int pthread_cond_timedwait(pthread_cond_t *restrict,
    101     pthread_mutex_t *restrict, const struct __POSIX_DEF__(timespec) *restrict);
    102 extern int pthread_cond_wait(pthread_cond_t *restrict,
    103     pthread_mutex_t *restrict);
     100extern int pthread_cond_timedwait(pthread_cond_t *__restrict__,
     101    pthread_mutex_t *__restrict__, const struct __POSIX_DEF__(timespec) *__restrict__);
     102extern int pthread_cond_wait(pthread_cond_t *__restrict__,
     103    pthread_mutex_t *__restrict__);
    104104
    105105extern int pthread_condattr_destroy(pthread_condattr_t *);
Note: See TracChangeset for help on using the changeset viewer.