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

Ignore:
Timestamp:
2017-11-13T20:00:07Z (4 years ago)
Author:
jzr <zarevucky.jiri@…>
Branches:
lfn, master
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/stdlib.h

    ra2afd8f r0dd4779  
    9292
    9393/* Symbolic Links */
    94 extern char *__POSIX_DEF__(realpath)(const char *restrict name, char *restrict resolved);
     94extern char *__POSIX_DEF__(realpath)(const char *__restrict__ name, char *__restrict__ resolved);
    9595
    9696/* Floating Point Conversion */
    9797extern double __POSIX_DEF__(atof)(const char *nptr);
    98 extern float __POSIX_DEF__(strtof)(const char *restrict nptr, char **restrict endptr);
    99 extern double __POSIX_DEF__(strtod)(const char *restrict nptr, char **restrict endptr);
    100 extern long double __POSIX_DEF__(strtold)(const char *restrict nptr, char **restrict endptr);
     98extern float __POSIX_DEF__(strtof)(const char *__restrict__ nptr, char **__restrict__ endptr);
     99extern double __POSIX_DEF__(strtod)(const char *__restrict__ nptr, char **__restrict__ endptr);
     100extern long double __POSIX_DEF__(strtold)(const char *__restrict__ nptr, char **__restrict__ endptr);
    101101
    102102/* Integer Conversion */
     
    104104extern long int __POSIX_DEF__(atol)(const char *nptr);
    105105extern long long int __POSIX_DEF__(atoll)(const char *nptr);
    106 extern long int __POSIX_DEF__(strtol)(const char *restrict nptr,
    107     char **restrict endptr, int base);
    108 extern long long int __POSIX_DEF__(strtoll)(const char *restrict nptr,
    109     char **restrict endptr, int base);
    110 extern unsigned long int __POSIX_DEF__(strtoul)(const char *restrict nptr,
    111     char **restrict endptr, int base);
     106extern long int __POSIX_DEF__(strtol)(const char *__restrict__ nptr,
     107    char **__restrict__ endptr, int base);
     108extern long long int __POSIX_DEF__(strtoll)(const char *__restrict__ nptr,
     109    char **__restrict__ endptr, int base);
     110extern unsigned long int __POSIX_DEF__(strtoul)(const char *__restrict__ nptr,
     111    char **__restrict__ endptr, int base);
    112112extern unsigned long long int __POSIX_DEF__(strtoull)(
    113     const char *restrict nptr, char **restrict endptr, int base);
     113    const char *__restrict__ nptr, char **__restrict__ endptr, int base);
    114114
    115115/* Memory Allocation */
Note: See TracChangeset for help on using the changeset viewer.