Need to be extern C for use by C++.

This commit is contained in:
Chris Johns
2002-11-09 04:37:33 +00:00
parent a9f1a11ce2
commit 8d3eba16f7

View File

@@ -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_ */