Fixing some compilation errors/warnings

Signed-off-by: Raphael Defosseux <raphael.defosseux@eurecom.fr>
This commit is contained in:
Raphael Defosseux
2018-11-28 20:31:24 +01:00
parent 0db0249057
commit 5d0fe4cea7
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -2350,7 +2350,7 @@ do_RRCConnectionReestablishment(
return -1;
}
LOG_D(RRC,"RRCConnectionReestablishment Encoded %zd bits (%zd bytes)\n",
LOG_D(RRC,"RRCConnectionReestablishment Encoded %u bits (%u bytes)\n",
(uint32_t)enc_rval.encoded, (uint32_t)(enc_rval.encoded+7)/8);
return((enc_rval.encoded+7)/8);
}
+2
View File
@@ -49,6 +49,7 @@ softmodem_params_t* get_softmodem_params(void) {
return &softmodem_params;
}
#if 0
void set_parallel_conf(char *parallel_conf)
{
if(strcmp(parallel_conf,"PARALLEL_SINGLE_THREAD")==0) softmodem_params.thread_struct.parallel_conf = PARALLEL_SINGLE_THREAD;
@@ -70,6 +71,7 @@ WORKER_CONF_t get_thread_worker_conf(void)
{
return softmodem_params.thread_struct.worker_conf;
}
#endif
void get_common_options(void)
{
char *parallel_config=NULL;