Changeset 1f618ab0 in rtems


Ignore:
Timestamp:
Mar 2, 2017, 6:54:52 AM (3 years ago)
Author:
Sebastian Huber <sebastian.huber@…>
Branches:
master
Children:
09dab28d
Parents:
08d85992
Message:

posix_devctl: Fix for pre C99

Use restrict just like in <devctl.h> to avoid compiler errors with
older GCC, e.g. 4.8 or 4.9.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libcsupport/src/posix_devctl.c

    r08d85992 r1f618ab0  
    3535
    3636int posix_devctl(
    37   int            fd,
    38   int            dcmd,
    39   void *restrict dev_data_ptr,
    40   size_t         nbyte,
    41   int *restrict  dev_info_ptr
     37  int              fd,
     38  int              dcmd,
     39  void *__restrict dev_data_ptr,
     40  size_t           nbyte,
     41  int *__restrict  dev_info_ptr
    4242)
    4343{
Note: See TracChangeset for help on using the changeset viewer.