From: Jan Kiszka <jan.kis...@siemens.com> This was missed in c4c2fc21a32d.
Signed-off-by: Jan Kiszka <jan.kis...@siemens.com> --- kernel/cobalt/posix/io.c | 6 +++--- kernel/cobalt/posix/io.h | 5 ----- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/kernel/cobalt/posix/io.c b/kernel/cobalt/posix/io.c index 0c17f55bf3..be8a2d3f0f 100644 --- a/kernel/cobalt/posix/io.c +++ b/kernel/cobalt/posix/io.c @@ -167,7 +167,7 @@ COBALT_SYSCALL(mmap, lostage, return cobalt_copy_to_user(u_addrp, &u_addr, sizeof(u_addr)); } -int __cobalt_first_fd_valid_p(fd_set *fds[XNSELECT_MAX_TYPES], int nfds) +static int __cobalt_first_fd_valid_p(fd_set *fds[XNSELECT_MAX_TYPES], int nfds) { int i, fd; @@ -181,8 +181,8 @@ int __cobalt_first_fd_valid_p(fd_set *fds[XNSELECT_MAX_TYPES], int nfds) return 1; } -int __cobalt_select_bind_all(struct xnselector *selector, - fd_set *fds[XNSELECT_MAX_TYPES], int nfds) +static int __cobalt_select_bind_all(struct xnselector *selector, + fd_set *fds[XNSELECT_MAX_TYPES], int nfds) { bool first_fd = true; unsigned fd, type; diff --git a/kernel/cobalt/posix/io.h b/kernel/cobalt/posix/io.h index d9f29fa595..c02595b4f3 100644 --- a/kernel/cobalt/posix/io.h +++ b/kernel/cobalt/posix/io.h @@ -23,11 +23,6 @@ #include <xenomai/posix/syscall.h> #include <cobalt/kernel/select.h> -int __cobalt_first_fd_valid_p(fd_set *fds[XNSELECT_MAX_TYPES], int nfds); - -int __cobalt_select_bind_all(struct xnselector *selector, - fd_set *fds[XNSELECT_MAX_TYPES], int nfds); - int __cobalt_select(int nfds, void __user *u_rfds, void __user *u_wfds, void __user *u_xfds, void __user *u_tv, bool compat); -- 2.31.1