pespin submitted this change.
osmo_io: Move function declaration to internal header
Change-Id: I25ffb94e00225bcdc565f56a3f0f7834df00e974
---
M src/core/osmo_io.c
M src/core/osmo_io_internal.h
2 files changed, 1 insertion(+), 4 deletions(-)
diff --git a/src/core/osmo_io.c b/src/core/osmo_io.c
index 8ee6967..e7645cb 100644
--- a/src/core/osmo_io.c
+++ b/src/core/osmo_io.c
@@ -69,10 +69,6 @@
/* Used by some tests, can't be static */
struct iofd_backend_ops osmo_iofd_ops;
-#if defined(HAVE_URING)
-void osmo_iofd_uring_init(void);
-#endif
-
/*! initialize osmo_io for the current thread */
void osmo_iofd_init(void)
{
diff --git a/src/core/osmo_io_internal.h b/src/core/osmo_io_internal.h
index 4f35fee..6b642b9 100644
--- a/src/core/osmo_io_internal.h
+++ b/src/core/osmo_io_internal.h
@@ -21,6 +21,7 @@
#if defined(HAVE_URING)
extern const struct iofd_backend_ops iofd_uring_ops;
+void osmo_iofd_uring_init(void);
#endif
struct iofd_backend_ops {
To view, visit change 42082. To unsubscribe, or for help writing mail filters, visit settings.