Suffer the consequences of moving struct timeval to its correct location

This commit is contained in:
Gregory Nutt
2015-02-15 15:18:35 -06:00
parent c2234e058f
commit d6704a1cd7
15 changed files with 37 additions and 11 deletions
+5 -3
View File
@@ -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
View File
@@ -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