From 1bf2f160e258b729c1fb5ac7abd486e4757a9149 Mon Sep 17 00:00:00 2001 From: Sebastian Huber Date: Sat, 6 Apr 2019 14:26:00 +0200 Subject: posix: Avoid workspace for queued signals --- cpukit/include/rtems/confdefs.h | 4 ++++ cpukit/include/rtems/posix/psignal.h | 2 ++ 2 files changed, 6 insertions(+) (limited to 'cpukit/include') diff --git a/cpukit/include/rtems/confdefs.h b/cpukit/include/rtems/confdefs.h index dfc917ccfe..066919a7dc 100644 --- a/cpukit/include/rtems/confdefs.h +++ b/cpukit/include/rtems/confdefs.h @@ -2862,6 +2862,10 @@ struct _reent *__getreent(void) #if CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS > 0 const uint32_t _POSIX_signals_Maximum_queued_signals = CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS; + + POSIX_signals_Siginfo_node _POSIX_signals_Siginfo_nodes[ + CONFIGURE_MAXIMUM_POSIX_QUEUED_SIGNALS + ]; #endif #if CONFIGURE_MAXIMUM_POSIX_TIMERS > 0 diff --git a/cpukit/include/rtems/posix/psignal.h b/cpukit/include/rtems/posix/psignal.h index 4632128598..4a078c57aa 100644 --- a/cpukit/include/rtems/posix/psignal.h +++ b/cpukit/include/rtems/posix/psignal.h @@ -33,5 +33,7 @@ typedef struct { extern const uint32_t _POSIX_signals_Maximum_queued_signals; +extern POSIX_signals_Siginfo_node _POSIX_signals_Siginfo_nodes[]; + #endif /* end of file */ -- cgit v1.2.3