aboutsummaryrefslogtreecommitdiff
path: root/platform/linux-generic/include/odp_schedule_if.h
diff options
context:
space:
mode:
authorJere Leppänen <jere.leppanen@nokia.com>2020-11-21 16:40:38 +0200
committerMatias Elo <matias.elo@nokia.com>2020-12-23 18:04:25 +0200
commite185f53434028f84fb26a3b3cb75e8769b23393b (patch)
treec4e1412e151cbda467ad589d30f294f120db284c /platform/linux-generic/include/odp_schedule_if.h
parent56cca35349616e1aed4ef92bc1d786d2fb11af4d (diff)
linux-gen: rename some global symbols in the static library
Rename some symbols that are global in the static library, in order to avoid clashes with application code. The prefix "_odp_" is added to the existing names. This patch renames most of the global symbols, a few more still remain to be renamed. Signed-off-by: Jere Leppänen <jere.leppanen@nokia.com> Reviewed-by: Petri Savolainen <petri.savolainen@nokia.com>
Diffstat (limited to 'platform/linux-generic/include/odp_schedule_if.h')
-rw-r--r--platform/linux-generic/include/odp_schedule_if.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/platform/linux-generic/include/odp_schedule_if.h b/platform/linux-generic/include/odp_schedule_if.h
index ef1bbf33b..da240dca3 100644
--- a/platform/linux-generic/include/odp_schedule_if.h
+++ b/platform/linux-generic/include/odp_schedule_if.h
@@ -78,13 +78,13 @@ typedef struct schedule_fn_t {
} schedule_fn_t;
/* Interface towards the scheduler */
-extern const schedule_fn_t *sched_fn;
+extern const schedule_fn_t *_odp_sched_fn;
/* Interface for the scheduler */
-int sched_cb_pktin_poll(int pktio_index, int pktin_index,
- odp_buffer_hdr_t *hdr_tbl[], int num);
-int sched_cb_pktin_poll_one(int pktio_index, int rx_queue, odp_event_t evts[]);
-void sched_cb_pktio_stop_finalize(int pktio_index);
+int _odp_sched_cb_pktin_poll(int pktio_index, int pktin_index,
+ odp_buffer_hdr_t *hdr_tbl[], int num);
+int _odp_sched_cb_pktin_poll_one(int pktio_index, int rx_queue, odp_event_t evts[]);
+void _odp_sched_cb_pktio_stop_finalize(int pktio_index);
/* For debugging */
extern int _odp_schedule_configured;