summaryrefslogtreecommitdiffstats
path: root/cpukit/posix
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/posix')
-rw-r--r--cpukit/posix/include/rtems/posix/psignal.h2
-rw-r--r--cpukit/posix/src/psignal.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/cpukit/posix/include/rtems/posix/psignal.h b/cpukit/posix/include/rtems/posix/psignal.h
index 537bef130c..d0b8574b7d 100644
--- a/cpukit/posix/include/rtems/posix/psignal.h
+++ b/cpukit/posix/include/rtems/posix/psignal.h
@@ -52,7 +52,7 @@
extern sigset_t _POSIX_signals_Pending;
-extern struct sigaction _POSIX_signals_Default_vectors[ SIG_ARRAY_MAX ];
+extern const struct sigaction _POSIX_signals_Default_vectors[ SIG_ARRAY_MAX ];
extern struct sigaction _POSIX_signals_Vectors[ SIG_ARRAY_MAX ];
diff --git a/cpukit/posix/src/psignal.c b/cpukit/posix/src/psignal.c
index a6c096caa7..70642cff09 100644
--- a/cpukit/posix/src/psignal.c
+++ b/cpukit/posix/src/psignal.c
@@ -42,7 +42,7 @@ void _POSIX_signals_Abnormal_termination_handler( int signo )
}
#define SIG_ARRAY_MAX (SIGRTMAX + 1)
-struct sigaction _POSIX_signals_Default_vectors[ SIG_ARRAY_MAX ] = {
+const struct sigaction _POSIX_signals_Default_vectors[ SIG_ARRAY_MAX ] = {
/* NO SIGNAL 0 */ SIGACTION_IGNORE,
/* SIGHUP 1 */ SIGACTION_TERMINATE,
/* SIGINT 2 */ SIGACTION_TERMINATE,