api: socket client connect set to blocking
[vpp.git] / src / vppinfra / cpu.h
index 40857fb..c1f2e9e 100644 (file)
@@ -81,8 +81,8 @@ clib_march_select_fn_ptr (clib_march_fn_registration * r)
   return rv;
 }
 
-#define CLIB_MARCH_FN_POINTER(fn) \
-  clib_march_select_fn_ptr (fn##_march_fn_registrations);
+#define CLIB_MARCH_FN_POINTER(fn)                                             \
+  (__typeof__ (fn) *) clib_march_select_fn_ptr (fn##_march_fn_registrations);
 
 #define _CLIB_MARCH_FN_REGISTRATION(fn) \
 static clib_march_fn_registration \
@@ -416,6 +416,7 @@ CLIB_MARCH_SFX(fn ## _march_constructor) (void)                             \
 format_function_t format_cpu_uarch;
 format_function_t format_cpu_model_name;
 format_function_t format_cpu_flags;
+format_function_t format_march_variant;
 
 /*
  * fd.io coding-style-patch-verification: ON