nat: Include platform specific headers on FreeBSD
[vpp.git] / src / vppinfra / test_macros.c
index f130604..9c88507 100644 (file)
@@ -18,8 +18,8 @@
 
 clib_macro_main_t clib_macro_main;
 
-int
-test_macros_main (unformat_input_t * input)
+__clib_export int
+test_macros_main (unformat_input_t *input)
 {
   clib_macro_main_t *mm = &clib_macro_main;
 
@@ -32,8 +32,9 @@ test_macros_main (unformat_input_t * input)
   clib_macro_set_value (mm, "bar", "bar");
 
   fformat (stdout, "evaluate: %s\n",
-          clib_macro_eval (mm, (i8 *) "returns '$(foo)'",
-                           1 /* complain */ ));
+          clib_macro_eval (mm, (i8 *) "returns '$(foo)'", 1 /* complain */ ,
+                           0 /* recursion_level */ ,
+                           8 /* max recursion level */ ));
 
   clib_macro_free (mm);