include, kernel: minor fixes to make compiling and linking work with clang.

(fixing warnings)
This commit is contained in:
Ben Gras
2010-07-06 11:59:19 +00:00
parent dc47875fc7
commit f6f814cb02
12 changed files with 21 additions and 19 deletions

View File

@@ -117,7 +117,7 @@ PUBLIC int do_fork(struct proc * caller, message * m_ptr)
* Only one in group should have RTS_SIGNALED, child doesn't inherit tracing.
*/
RTS_UNSET(rpc, (RTS_SIGNALED | RTS_SIG_PENDING | RTS_P_STOP));
sigemptyset(&rpc->p_pending);
(void) sigemptyset(&rpc->p_pending);
rpc->p_seg.p_cr3 = 0;
rpc->p_seg.p_cr3_v = NULL;