mirror of
https://github.com/bol-van/zapret.git
synced 2025-05-24 22:32:58 +03:00
nfqws,tpws: disallow optimizer to inline config_from_file
This commit is contained in:
@@ -364,7 +364,8 @@ static bool parse_pf_list(char *opt, struct port_filters_head *pfl)
|
||||
return true;
|
||||
}
|
||||
|
||||
static void config_from_file(const char *filename)
|
||||
// no static to not allow optimizer to inline this func (save stack)
|
||||
void config_from_file(const char *filename)
|
||||
{
|
||||
// config from a file
|
||||
char buf[MAX_CONFIG_FILE_SIZE];
|
||||
|
Reference in New Issue
Block a user