tree-wide: make sigactions static const

This commit is contained in:
Mike Yuan
2025-01-04 16:40:53 +01:00
parent bed4386e29
commit 5734893f82
4 changed files with 14 additions and 14 deletions
+1 -1
View File
@@ -121,7 +121,7 @@ static void sigbus_handler(int sn, siginfo_t *si, void *data) {
}
void sigbus_install(void) {
struct sigaction sa = {
static const struct sigaction sa = {
.sa_sigaction = sigbus_handler,
.sa_flags = SA_SIGINFO,
};