diff options
author | Daniel Ramirez <javamonn@gmail.com> | 2013-11-20 18:24:48 -0600 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@oarcorp.com> | 2013-11-20 18:24:48 -0600 |
commit | 14876018c3e94f4c1c62aa512bebff1ee5307b79 (patch) | |
tree | b3444d9f664e96e29c2ef84224606bb0bc357f16 /cpukit/libnetworking/sys/select.h | |
parent | sparc.t: Correct for V8/V9 (diff) | |
download | rtems-14876018c3e94f4c1c62aa512bebff1ee5307b79.tar.bz2 |
select.h, rtems_select.c, nds select: Add restrict keyword
Diffstat (limited to 'cpukit/libnetworking/sys/select.h')
-rw-r--r-- | cpukit/libnetworking/sys/select.h | 8 |
1 files changed, 4 insertions, 4 deletions
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 } |