more simplification
[src/app-framework-binder.git] / src / afb-apis.c
index 9dcb180..7d0feb3 100644 (file)
@@ -37,8 +37,6 @@
 #include <sys/syscall.h>
 #include <setjmp.h>
 
-#include "local-def.h"
-
 #include "afb-plugin.h"
 #include "afb-req-itf.h"
 #include "afb-poll-itf.h"
@@ -311,6 +309,7 @@ static void trapping_handle(struct afb_req req, void(*cb)(struct afb_req))
                        timerset = 1; /* TODO: check statuses */
                        sevp.sigev_notify = SIGEV_THREAD_ID;
                        sevp.sigev_signo = SIGALRM;
+                       sevp.sigev_value.sival_ptr = NULL;
 #if defined(sigev_notify_thread_id)
                        sevp.sigev_notify_thread_id = (pid_t)syscall(SYS_gettid);
 #else