Timur Davydov has uploaded this change for review.
vty: fix osmo_cpu_sched_vty_init() prototype
Change return type of osmo_cpu_sched_vty_init() from void to int
to match its implementation.
This fixes a prototype mismatch rejected by stricter compilers
(e.g. Emscripten).
Change-Id: Ia86e8063178ad82de098c2ff693cfbcd7e9f2192
---
M include/osmocom/vty/cpu_sched_vty.h
1 file changed, 1 insertion(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/09/42709/1
diff --git a/include/osmocom/vty/cpu_sched_vty.h b/include/osmocom/vty/cpu_sched_vty.h
index 171f168..b04ee34 100644
--- a/include/osmocom/vty/cpu_sched_vty.h
+++ b/include/osmocom/vty/cpu_sched_vty.h
@@ -31,7 +31,7 @@
* \file cpu_sched_vty.h
*/
-void osmo_cpu_sched_vty_init(void *tall_ctx);
+int osmo_cpu_sched_vty_init(void *tall_ctx);
int osmo_cpu_sched_vty_apply_localthread(void);
/*! @} */
To view, visit change 42709. To unsubscribe, or for help writing mail filters, visit settings.