eal: fix C++ link of delay function pointer
[dpdk.git] / lib / librte_eal / common / include / generic / rte_cycles.h
index 96a2da9..00103ca 100644 (file)
@@ -188,7 +188,7 @@ rte_get_timer_hz(void)
  * @param us
  *   The number of microseconds to wait.
  */
-void
+extern void
 (*rte_delay_us)(unsigned int us);
 
 /**