projects
/
musl
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix misordered typedefs in ppc signal.h
[musl]
/
src
/
mq
/
mq_notify.c
diff --git
a/src/mq/mq_notify.c
b/src/mq/mq_notify.c
index
60bb2db
..
221591c
100644
(file)
--- a/
src/mq/mq_notify.c
+++ b/
src/mq/mq_notify.c
@@
-12,7
+12,7
@@
struct args {
const struct sigevent *sev;
};
const struct sigevent *sev;
};
-void *start(void *p)
+
static
void *start(void *p)
{
struct args *args = p;
char buf[32];
{
struct args *args = p;
char buf[32];
@@
-61,7
+61,7
@@
int mq_notify(mqd_t mqd, const struct sigevent *sev)
sev2.sigev_notify = SIGEV_THREAD;
sev2.sigev_signo = s;
sev2.sigev_notify = SIGEV_THREAD;
sev2.sigev_signo = s;
- sev2.sigev_value.sival_ptr = &zeros;
+ sev2.sigev_value.sival_ptr =
(void *)
&zeros;
if (syscall(SYS_mq_notify, mqd, &sev2) < 0) {
pthread_cancel(td);
if (syscall(SYS_mq_notify, mqd, &sev2) < 0) {
pthread_cancel(td);