mirror of
https://github.com/fluencelabs/musl
synced 2025-07-30 22:01:57 +00:00
fix const-correctness in sigandset/sigorset arguments
this change is consistent with the corresponding glibc functions and is semantically const-correct. the incorrect argument types without const seem to have been taken from erroneous man pages.
This commit is contained in:
@@ -227,8 +227,8 @@ typedef void (*sig_t)(int);
|
||||
typedef void (*sighandler_t)(int);
|
||||
void (*bsd_signal(int, void (*)(int)))(int);
|
||||
int sigisemptyset(const sigset_t *);
|
||||
int sigorset (sigset_t *, sigset_t *, sigset_t *);
|
||||
int sigandset(sigset_t *, sigset_t *, sigset_t *);
|
||||
int sigorset (sigset_t *, const sigset_t *, const sigset_t *);
|
||||
int sigandset(sigset_t *, const sigset_t *, const sigset_t *);
|
||||
|
||||
#define SA_NOMASK SA_NODEFER
|
||||
#define SA_ONESHOT SA_RESETHAND
|
||||
|
Reference in New Issue
Block a user