mirror of https://gerrit.osmocom.org/libosmocore
osmo_io_poll: Declare local functions "static"
Change-Id: I6ba88cd7bbd5b5ef42eb460679696f105c9158cb
This commit is contained in:
parent
51c1a9c1ba
commit
e1c4eabc87
|
@ -119,7 +119,7 @@ static int iofd_poll_ofd_cb_dispatch(struct osmo_fd *ofd, unsigned int what)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int iofd_poll_register(struct osmo_io_fd *iofd)
|
static int iofd_poll_register(struct osmo_io_fd *iofd)
|
||||||
{
|
{
|
||||||
struct osmo_fd *ofd = &iofd->u.poll.ofd;
|
struct osmo_fd *ofd = &iofd->u.poll.ofd;
|
||||||
int rc;
|
int rc;
|
||||||
|
@ -133,7 +133,7 @@ int iofd_poll_register(struct osmo_io_fd *iofd)
|
||||||
return rc;
|
return rc;
|
||||||
}
|
}
|
||||||
|
|
||||||
int iofd_poll_unregister(struct osmo_io_fd *iofd)
|
static int iofd_poll_unregister(struct osmo_io_fd *iofd)
|
||||||
{
|
{
|
||||||
struct osmo_fd *ofd = &iofd->u.poll.ofd;
|
struct osmo_fd *ofd = &iofd->u.poll.ofd;
|
||||||
|
|
||||||
|
@ -145,7 +145,7 @@ int iofd_poll_unregister(struct osmo_io_fd *iofd)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
int iofd_poll_close(struct osmo_io_fd *iofd)
|
static int iofd_poll_close(struct osmo_io_fd *iofd)
|
||||||
{
|
{
|
||||||
iofd_poll_unregister(iofd);
|
iofd_poll_unregister(iofd);
|
||||||
osmo_fd_close(&iofd->u.poll.ofd);
|
osmo_fd_close(&iofd->u.poll.ofd);
|
||||||
|
@ -153,27 +153,27 @@ int iofd_poll_close(struct osmo_io_fd *iofd)
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
void iofd_poll_read_enable(struct osmo_io_fd *iofd)
|
static void iofd_poll_read_enable(struct osmo_io_fd *iofd)
|
||||||
{
|
{
|
||||||
osmo_fd_read_enable(&iofd->u.poll.ofd);
|
osmo_fd_read_enable(&iofd->u.poll.ofd);
|
||||||
}
|
}
|
||||||
|
|
||||||
void iofd_poll_read_disable(struct osmo_io_fd *iofd)
|
static void iofd_poll_read_disable(struct osmo_io_fd *iofd)
|
||||||
{
|
{
|
||||||
osmo_fd_read_disable(&iofd->u.poll.ofd);
|
osmo_fd_read_disable(&iofd->u.poll.ofd);
|
||||||
}
|
}
|
||||||
|
|
||||||
void iofd_poll_write_enable(struct osmo_io_fd *iofd)
|
static void iofd_poll_write_enable(struct osmo_io_fd *iofd)
|
||||||
{
|
{
|
||||||
osmo_fd_write_enable(&iofd->u.poll.ofd);
|
osmo_fd_write_enable(&iofd->u.poll.ofd);
|
||||||
}
|
}
|
||||||
|
|
||||||
void iofd_poll_write_disable(struct osmo_io_fd *iofd)
|
static void iofd_poll_write_disable(struct osmo_io_fd *iofd)
|
||||||
{
|
{
|
||||||
osmo_fd_write_disable(&iofd->u.poll.ofd);
|
osmo_fd_write_disable(&iofd->u.poll.ofd);
|
||||||
}
|
}
|
||||||
|
|
||||||
void iofd_poll_notify_connected(struct osmo_io_fd *iofd)
|
static void iofd_poll_notify_connected(struct osmo_io_fd *iofd)
|
||||||
{
|
{
|
||||||
int rc;
|
int rc;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue