mirror of
https://github.com/frida/tinycc
synced 2024-11-24 00:29:38 +03:00
Don't mix code and declaration
This commit is contained in:
parent
a3578379fb
commit
15182d7fdd
2
tccelf.c
2
tccelf.c
@ -1320,8 +1320,8 @@ static void add_init_array_defines(TCCState *s1, const char *section_name)
|
||||
#ifndef TCC_TARGET_PE
|
||||
static int tcc_add_support(TCCState *s1, const char *filename)
|
||||
{
|
||||
if (!filename || strlen(filename)==0) return 0;
|
||||
char buf[1024];
|
||||
if (!filename || strlen(filename)==0) return 0;
|
||||
snprintf(buf, sizeof(buf), "%s/%s", s1->tcc_lib_path, filename);
|
||||
return tcc_add_file(s1, buf);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user