diff options
Diffstat (limited to 'src/internal')
-rw-r--r-- | src/internal/pthread_impl.h | 7 | ||||
-rw-r--r-- | src/internal/stdio_impl.h | 2 |
2 files changed, 6 insertions, 3 deletions
diff --git a/src/internal/pthread_impl.h b/src/internal/pthread_impl.h index 46d8fdd2..56b92b22 100644 --- a/src/internal/pthread_impl.h +++ b/src/internal/pthread_impl.h @@ -90,9 +90,12 @@ struct __timer { #define SIGCANCEL 33 #define SIGSYNCCALL 34 -#define SIGPT_SET ((sigset_t *)(unsigned long [1+(sizeof(long)==4)]){ \ +#define SIGALL_SET ((sigset_t *)(const unsigned long long [2]){ -1,-1 }) +#define SIGPT_SET \ + ((sigset_t *)(const unsigned long [__SYSCALL_SSLEN/sizeof(long)]){ \ [sizeof(long)==4] = 3UL<<(32*(sizeof(long)>4)) }) -#define SIGTIMER_SET ((sigset_t *)(unsigned long [1+(sizeof(long)==4)]){ \ +#define SIGTIMER_SET \ + ((sigset_t *)(const unsigned long [__SYSCALL_SSLEN/sizeof(long)]){ \ 0x80000000 }) pthread_t __pthread_self_init(void); diff --git a/src/internal/stdio_impl.h b/src/internal/stdio_impl.h index d54c918b..65dcfbda 100644 --- a/src/internal/stdio_impl.h +++ b/src/internal/stdio_impl.h @@ -57,7 +57,7 @@ struct __FILE_s { int waiters; void *cookie; off_t off; - void *dummy4; + char *getln_buf; void *mustbezero_2; unsigned char *shend; off_t shlim, shcnt; |