diff --git a/test/api/test-set.c b/test/api/test-set.c index d9cb1b018..afc473d7f 100644 --- a/test/api/test-set.c +++ b/test/api/test-set.c @@ -89,11 +89,12 @@ test_set_basic (void) hb_set_destroy (s); } -static void +static inline void print_set (hb_set_t *s) { + hb_codepoint_t next; printf ("{"); - for (hb_codepoint_t next = HB_SET_VALUE_INVALID; hb_set_next (s, &next); ) + for (next = HB_SET_VALUE_INVALID; hb_set_next (s, &next); ) printf ("%d, ", next); printf ("}\n"); }