From 14876018c3e94f4c1c62aa512bebff1ee5307b79 Mon Sep 17 00:00:00 2001 From: Daniel Ramirez Date: Wed, 20 Nov 2013 18:24:48 -0600 Subject: select.h, rtems_select.c, nds select: Add restrict keyword --- cpukit/libnetworking/sys/select.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'cpukit/libnetworking/sys/select.h') diff --git a/cpukit/libnetworking/sys/select.h b/cpukit/libnetworking/sys/select.h index fdd29deab6..8a84e4cca6 100644 --- a/cpukit/libnetworking/sys/select.h +++ b/cpukit/libnetworking/sys/select.h @@ -57,10 +57,10 @@ struct selinfo { (if not NULL) for exceptional conditions. If TIMEOUT is not NULL, time out after waiting the interval specified therein. Returns the number of ready descriptors, or -1 for errors. */ -extern int select (int __nfds, fd_set *__readfds, - fd_set *__writefds, - fd_set *__exceptfds, - struct timeval *__timeout); +extern int select (int __nfds, fd_set *__restrict __readfds, + fd_set *__restrict __writefds, + fd_set *__restrict __exceptfds, + struct timeval *__restrict __timeout); #ifdef __cplusplus } -- cgit v1.2.3