summaryrefslogtreecommitdiffstats
path: root/src/vlib/main.c
diff options
context:
space:
mode:
authorDamjan Marion <damarion@cisco.com>2017-03-28 15:11:20 +0200
committerOle Trøan <otroan@employees.org>2017-03-28 14:26:07 +0000
commit9a332e1639fbfb4eb4ddf47b1681e05493ae6da3 (patch)
tree0773e087361c44f39dc5bcd2188de02f01af76b0 /src/vlib/main.c
parent60750434fce12e320968a5bbc14cca080048ffd1 (diff)
vlib: inline dispatch_node(...) (again)
Worker main loop is now shared code with main thread main loop so no need to export functions anymore. Change-Id: I99ee2eee981c1b88ca31d20eabeb6c21d030a34d Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/vlib/main.c')
-rw-r--r--src/vlib/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/vlib/main.c b/src/vlib/main.c
index 50f0b1626c0..55a731f16c6 100644
--- a/src/vlib/main.c
+++ b/src/vlib/main.c
@@ -917,7 +917,7 @@ vlib_dump_context_trace (vlib_main_t * vm, u32 bi)
}
-/* static_always_inline */ u64
+static_always_inline u64
dispatch_node (vlib_main_t * vm,
vlib_node_runtime_t * node,
vlib_node_type_t type,
@@ -1093,7 +1093,7 @@ dispatch_node (vlib_main_t * vm,
return t;
}
-/* static */ u64
+static u64
dispatch_pending_node (vlib_main_t * vm,
vlib_pending_frame_t * p, u64 last_time_stamp)
{