summaryrefslogtreecommitdiff
path: root/components/libc/pthreads/pthread.h
diff options
context:
space:
mode:
authorbernard <[email protected]>2017-10-15 22:41:59 +0800
committerbernard <[email protected]>2017-10-15 22:41:59 +0800
commit5c7b16d00bdb536a694e6e31a2e0a1c33cb9dcb9 (patch)
tree5da5e3404e1241b65e90089c4c370b40130df832 /components/libc/pthreads/pthread.h
parentb27c7e482648535760e012cd6f1afef1d800e2d2 (diff)
[libc] Update libc.
1. Add POSIX termios implementation; 2. Add POSIX signals implementation; 3. Add stdio for each libc.
Diffstat (limited to 'components/libc/pthreads/pthread.h')
-rw-r--r--components/libc/pthreads/pthread.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/components/libc/pthreads/pthread.h b/components/libc/pthreads/pthread.h
index 2674599aac..dd1c5b5bd2 100644
--- a/components/libc/pthreads/pthread.h
+++ b/components/libc/pthreads/pthread.h
@@ -268,11 +268,13 @@ int pthread_barrier_wait(pthread_barrier_t *barrier);
/* Signal Generation and Delivery, P1003.1b-1993, p. 63
NOTE: P1003.1c/D10, p. 34 adds sigev_notify_function and
sigev_notify_attributes to the sigevent structure. */
+#if 0
union sigval
{
int sival_int; /* Integer signal value */
void *sival_ptr; /* Pointer signal value */
};
+#endif
struct sigevent
{