linux(4): Staticize lsiginfo_to_siginfo

It's not used outside of linux_signal.c
While here fix the indentation.

MFC after:		1 week

(cherry picked from commit 794328fbc174360a09b6ad341624e9bce46f0d2e)
This commit is contained in:
Dmitry Chagin 2023-09-18 17:52:43 +03:00
parent 058e9c13e3
commit 5ce9df199d
2 changed files with 2 additions and 4 deletions

View file

@ -766,7 +766,7 @@ siginfo_to_lsiginfo(const siginfo_t *si, l_siginfo_t *lsi, l_int sig)
}
}
int
static int
lsiginfo_to_siginfo(struct thread *td, const l_siginfo_t *lsi,
siginfo_t *si, int sig)
{

View file

@ -31,9 +31,7 @@
int linux_do_sigaction(struct thread *, int, l_sigaction_t *, l_sigaction_t *);
void siginfo_to_lsiginfo(const siginfo_t *si, l_siginfo_t *lsi, l_int sig);
int lsiginfo_to_siginfo(struct thread *td, const l_siginfo_t *lsi,
siginfo_t *si, int sig);
int linux_copyin_sigset(struct thread *td, l_sigset_t *, l_size_t, sigset_t *,
sigset_t **);
sigset_t **);
#endif /* _LINUX_SIGNAL_H_ */