mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 05:42:05 +08:00
Suffer the consequences of moving struct timeval to its correct location
This commit is contained in:
@@ -104,13 +104,15 @@ typedef uint32_t fd_set[__SELECT_NUINT32];
|
||||
#undef EXTERN
|
||||
#if defined(__cplusplus)
|
||||
#define EXTERN extern "C"
|
||||
extern "C" {
|
||||
extern "C"
|
||||
{
|
||||
#else
|
||||
#define EXTERN extern
|
||||
#endif
|
||||
|
||||
EXTERN int select(int nfds, FAR fd_set *readfds, FAR fd_set *writefds,
|
||||
FAR fd_set *exceptfds, FAR struct timeval *timeout);
|
||||
struct timeval;
|
||||
int select(int nfds, FAR fd_set *readfds, FAR fd_set *writefds,
|
||||
FAR fd_set *exceptfds, FAR struct timeval *timeout);
|
||||
|
||||
#undef EXTERN
|
||||
#if defined(__cplusplus)
|
||||
|
||||
+3
-2
@@ -94,8 +94,9 @@
|
||||
#define PRIOR_OTHER_MIN 0
|
||||
#define PRIOR_OTHER_MAX 255
|
||||
|
||||
/* Scheduling Priorities. NOTE: Only the idle task can take
|
||||
* the true minimum priority. */
|
||||
/* Scheduling Priorities. NOTE: Only the idle task can take the true
|
||||
* minimum priority.
|
||||
*/
|
||||
|
||||
#define SCHED_PRIORITY_MAX 255
|
||||
#define SCHED_PRIORITY_DEFAULT 100
|
||||
|
||||
Reference in New Issue
Block a user