Commit f6a82e78 authored by Jan Kiszka's avatar Jan Kiszka
Browse files

cobalt/posix/io: Privatize some select helpers

This was missed in c4c2fc21

.
Signed-off-by: Jan Kiszka's avatarJan Kiszka <jan.kiszka@siemens.com>
parent edc4d156
......@@ -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;
......
......@@ -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);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment