fixes for getting config by command line

This commit is contained in:
Wang Tsu-Han
2018-11-29 16:03:07 +01:00
parent b25a592ced
commit e7f0701aa7
2 changed files with 21 additions and 15 deletions
+2 -2
View File
@@ -35,6 +35,8 @@
#include "common/config/config_userapi.h"
#include "common/utils/load_module_shlib.h"
static softmodem_params_t softmodem_params;
char *parallel_config=NULL;
char *worker_config=NULL;
uint64_t get_softmodem_optmask(void) {
return softmodem_params.optmask;
@@ -51,8 +53,6 @@ softmodem_params_t* get_softmodem_params(void) {
void get_common_options(void)
{
char *parallel_config=NULL;
char *worker_config=NULL;
uint32_t online_log_messages;