o Add missing ';' so this compiles
o Can't use NULL since we don't include stdio.h
This commit is contained in:
@@ -57,7 +57,7 @@ sigaction(signo, sa, osa)
|
|||||||
sa = &nsa;
|
sa = &nsa;
|
||||||
}
|
}
|
||||||
|
|
||||||
error = sigvec(signo, sa, osa)
|
error = sigvec(signo, sa, osa);
|
||||||
if (!error && osa)
|
if (!error && osa)
|
||||||
osa->sa_flags ^= SV_INTERRUPT; /* flip SV_INTERRUPT as above */
|
osa->sa_flags ^= SV_INTERRUPT; /* flip SV_INTERRUPT as above */
|
||||||
|
|
||||||
@@ -130,7 +130,7 @@ sigprocmask(how, set, oset)
|
|||||||
int mask;
|
int mask;
|
||||||
|
|
||||||
/* If 'set' is NULL the user just wants the current signal mask. */
|
/* If 'set' is NULL the user just wants the current signal mask. */
|
||||||
if (set == NULL)
|
if (set == 0)
|
||||||
mask = sigblock(0);
|
mask = sigblock(0);
|
||||||
else
|
else
|
||||||
switch (how) {
|
switch (how) {
|
||||||
|
Reference in New Issue
Block a user