Make issignal() private to kern_sig.c since it is only called from cursig()
and cursig() is now a function rather than a macro.
This commit is contained in:
parent
8b48559cff
commit
6711f10fb6
@ -82,6 +82,7 @@
|
||||
static int coredump(struct thread *);
|
||||
static char *expand_name(const char *, uid_t, pid_t);
|
||||
static int killpg1(struct thread *td, int sig, int pgid, int all);
|
||||
static int issignal(struct thread *p);
|
||||
static int sigprop(int sig);
|
||||
static void stop(struct proc *);
|
||||
static void tdsigwakeup(struct thread *td, int sig, sig_t action);
|
||||
@ -1886,7 +1887,7 @@ tdsigwakeup(struct thread *td, int sig, sig_t action)
|
||||
* while (sig = cursig(curthread))
|
||||
* postsig(sig);
|
||||
*/
|
||||
int
|
||||
static int
|
||||
issignal(td)
|
||||
struct thread *td;
|
||||
{
|
||||
|
@ -238,7 +238,6 @@ extern struct mtx sigio_lock;
|
||||
int cursig(struct thread *td);
|
||||
void execsigs(struct proc *p);
|
||||
void gsignal(int pgid, int sig);
|
||||
int issignal(struct thread *p);
|
||||
void killproc(struct proc *p, char *why);
|
||||
void pgsigio(struct sigio **, int signum, int checkctty);
|
||||
void pgsignal(struct pgrp *pgrp, int sig, int checkctty);
|
||||
|
Loading…
Reference in New Issue
Block a user