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

    ra2afd8f r0dd4779  
    8989
    9090/* Broken-down Time */
    91 extern struct tm *__POSIX_DEF__(gmtime_r)(const time_t *restrict timer,
    92     struct tm *restrict result);
    93 extern struct tm *__POSIX_DEF__(gmtime)(const time_t *restrict timep);
    94 extern struct tm *__POSIX_DEF__(localtime_r)(const time_t *restrict timer,
    95     struct tm *restrict result);
    96 extern struct tm *__POSIX_DEF__(localtime)(const time_t *restrict timep);
     91extern struct tm *__POSIX_DEF__(gmtime_r)(const time_t *__restrict__ timer,
     92    struct tm *__restrict__ result);
     93extern struct tm *__POSIX_DEF__(gmtime)(const time_t *__restrict__ timep);
     94extern struct tm *__POSIX_DEF__(localtime_r)(const time_t *__restrict__ timer,
     95    struct tm *__restrict__ result);
     96extern struct tm *__POSIX_DEF__(localtime)(const time_t *__restrict__ timep);
    9797
    9898/* Formatting Calendar Time */
    99 extern char *__POSIX_DEF__(asctime_r)(const struct tm *restrict timeptr,
    100     char *restrict buf);
    101 extern char *__POSIX_DEF__(asctime)(const struct tm *restrict timeptr);
     99extern char *__POSIX_DEF__(asctime_r)(const struct tm *__restrict__ timeptr,
     100    char *__restrict__ buf);
     101extern char *__POSIX_DEF__(asctime)(const struct tm *__restrict__ timeptr);
    102102extern char *__POSIX_DEF__(ctime_r)(const time_t *timer, char *buf);
    103103extern char *__POSIX_DEF__(ctime)(const time_t *timer);
Note: See TracChangeset for help on using the changeset viewer.