1 // SPDX-License-Identifier: MIT
7 static void show_symbols(struct symbol_list
*list
)
11 FOR_EACH_PTR(list
, sym
) {
12 printf("%s;\n", show_typename(sym
));
13 } END_FOR_EACH_PTR(sym
);
16 int main(int argc
, char **argv
)
18 struct string_list
*filelist
= NULL
;
21 sparse_initialize(argc
, argv
, &filelist
);
23 FOR_EACH_PTR(filelist
, file
) {
24 show_symbols(sparse(file
));
25 } END_FOR_EACH_PTR(file
);