From 1f618ab00fc499ccb38af58a6cb185f643298fe1 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Thu, 2 Mar 2017 07:54:52 +0100 Subject: posix_devctl: Fix for pre C99 Use __restrict just like in to avoid compiler errors with older GCC, e.g. 4.8 or 4.9. --- cpukit/libcsupport/src/posix_devctl.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'cpukit/libcsupport/src/posix_devctl.c') diff --git a/cpukit/libcsupport/src/posix_devctl.c b/cpukit/libcsupport/src/posix_devctl.c index 9b86e0e059..415b94e278 100644 --- a/cpukit/libcsupport/src/posix_devctl.c +++ b/cpukit/libcsupport/src/posix_devctl.c @@ -34,11 +34,11 @@ #include int posix_devctl( - int fd, - int dcmd, - void *restrict dev_data_ptr, - size_t nbyte, - int *restrict dev_info_ptr + int fd, + int dcmd, + void *__restrict dev_data_ptr, + size_t nbyte, + int *__restrict dev_info_ptr ) { /* -- cgit v1.2.3