mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2026-09-22 07:38:45 +08:00
Need to be extern C for use by C++.
This commit is contained in:
@@ -37,6 +37,10 @@
|
||||
#ifndef _SYS_SELECT_H_
|
||||
#define _SYS_SELECT_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C" {
|
||||
#endif
|
||||
|
||||
/*
|
||||
* Used to maintain information about processes that wish to be
|
||||
* notified when I/O becomes possible.
|
||||
@@ -64,4 +68,8 @@ extern int select (int __nfds, fd_set *__readfds,
|
||||
fd_set *__exceptfds,
|
||||
struct timeval *__timeout);
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
#endif
|
||||
|
||||
#endif /* !_SYS_SELECT_H_ */
|
||||
|
||||
Reference in New Issue
Block a user