pespin has uploaded this change for review. (
https://gerrit.osmocom.org/c/libosmocore/+/42082?usp=email )
Change subject: osmo_io: Move function declaration to internal header
......................................................................
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(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/82/42082/1
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 https://gerrit.osmocom.org/c/libosmocore/+/42082?usp=email
To unsubscribe, or for help writing mail filters, visit
https://gerrit.osmocom.org/settings?usp=email
Gerrit-MessageType: newchange
Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I25ffb94e00225bcdc565f56a3f0f7834df00e974
Gerrit-Change-Number: 42082
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <[email protected]>