signal: introduce a struct to represent a signal
[bertos.git] / bertos / kern / proc.c
index 0bc046f803533999d3f52c46b3ff87b9e6803886..0bf820393beddf364973d508ce3cb8f77de3651e 100644 (file)
@@ -183,8 +183,8 @@ static void proc_initStruct(Process *proc)
        (void)proc;
 
 #if CONFIG_KERN_SIGNALS
-       proc->sig_recv = 0;
-       proc->sig_wait = 0;
+       proc->sig.recv = 0;
+       proc->sig.wait = 0;
 #endif
 
 #if CONFIG_KERN_HEAP