macro_main_t macro_main;
-int test_macros_main (unformat_input_t * input)
+int
+test_macros_main (unformat_input_t * input)
{
- macro_main_t * mm = ¯o_main;
+ macro_main_t *mm = ¯o_main;
- clib_macro_init(mm);
+ clib_macro_init (mm);
- fformat (stdout, "hostname: %s\n",
- clib_macro_eval_dollar (mm, "hostname", 1 /* complain */));
+ fformat (stdout, "hostname: %s\n",
+ clib_macro_eval_dollar (mm, "hostname", 1 /* complain */ ));
clib_macro_set_value (mm, "foo", "this is foo which contains $(bar)");
clib_macro_set_value (mm, "bar", "bar");
fformat (stdout, "evaluate: %s\n",
- clib_macro_eval (mm, "returns '$(foo)'", 1 /* complain */));
+ clib_macro_eval (mm, "returns '$(foo)'", 1 /* complain */ ));
clib_macro_free (mm);
}
#ifdef CLIB_UNIX
-int main (int argc, char * argv[])
+int
+main (int argc, char *argv[])
{
unformat_input_t i;
int ret;
}
#endif /* CLIB_UNIX */
+
+/*
+ * fd.io coding-style-patch-verification: ON
+ *
+ * Local Variables:
+ * eval: (c-set-style "gnu")
+ * End:
+ */