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/signal.h

    ra2afd8f r0dd4779  
    229229};
    230230
    231 extern int __POSIX_DEF__(sigaction)(int sig, const struct __POSIX_DEF__(sigaction) *restrict act,
    232     struct __POSIX_DEF__(sigaction) *restrict oact);
     231extern int __POSIX_DEF__(sigaction)(int sig, const struct __POSIX_DEF__(sigaction) *__restrict__ act,
     232    struct __POSIX_DEF__(sigaction) *__restrict__ oact);
    233233
    234234extern void (*__POSIX_DEF__(signal)(int sig, void (*func)(int)))(int);
     
    246246extern int __POSIX_DEF__(sigismember)(const __POSIX_DEF__(sigset_t) *set, int signo);
    247247
    248 extern int __POSIX_DEF__(thread_sigmask)(int how, const __POSIX_DEF__(sigset_t) *restrict set,
    249     __POSIX_DEF__(sigset_t) *restrict oset);
    250 extern int __POSIX_DEF__(sigprocmask)(int how, const __POSIX_DEF__(sigset_t) *restrict set,
    251     __POSIX_DEF__(sigset_t) *restrict oset);
     248extern int __POSIX_DEF__(thread_sigmask)(int how, const __POSIX_DEF__(sigset_t) *__restrict__ set,
     249    __POSIX_DEF__(sigset_t) *__restrict__ oset);
     250extern int __POSIX_DEF__(sigprocmask)(int how, const __POSIX_DEF__(sigset_t) *__restrict__ set,
     251    __POSIX_DEF__(sigset_t) *__restrict__ oset);
    252252
    253253
Note: See TracChangeset for help on using the changeset viewer.