Skip to content

Commit

Permalink
Fix tcc build
Browse files Browse the repository at this point in the history
  • Loading branch information
radare committed May 9, 2016
1 parent d651283 commit 90e9ac8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 1 addition & 0 deletions shlr/tcc/libtcc.c
Expand Up @@ -856,6 +856,7 @@ static const FlagDef flag_defs[] = {
{ offsetof(TCCState, leading_underscore), 0, "leading-underscore" },
};
#endif
void (*tcc_cb)(const char *, char **);

PUB_FUNC void tcc_set_callback (TCCState *s, void (*cb)(const char *,char**), char **p) {
tcc_cb = cb;
Expand Down
1 change: 0 additions & 1 deletion shlr/tcc/tcc.h
Expand Up @@ -1027,6 +1027,5 @@ ST_FUNC int classify_x86_64_va_arg(CType *ty);
PUB_FUNC void tcc_appendf (const char *fmt, ...);

extern void (*tcc_cb)(const char *, char **);
void (*tcc_cb)(const char *, char **);

#endif /* _TCC_H */

0 comments on commit 90e9ac8

Please sign in to comment.