1.去除编译警告2

This commit is contained in:
payton 2024-01-17 15:44:49 +08:00
parent 6bab9a4f72
commit 9dc28871f1
3 changed files with 8 additions and 7 deletions

View File

@ -116,14 +116,14 @@ void sf_set_simcard_ready(UINT8 readyFlag)
gSIMCardReady = readyFlag;
}
UINT8 sf_get_simcard_ready()
UINT8 sf_get_simcard_ready(void)
{
return gSIMCardReady;
}
static int gModuleResetFlag = 0;
int sf_get_module_reset_flag()
int sf_get_module_reset_flag(void)
{
return gModuleResetFlag;
}
@ -134,7 +134,7 @@ void sf_set_module_reset_flag(int flag)
}
void sf_module_reset()
void sf_module_reset(void)
{
gModuleResetFlag = 1;
sf_hal_ttyusb2_deinit();
@ -172,13 +172,13 @@ int sf_get_operatorname(char *strname)
}
void sf_clear_operatorname()
void sf_clear_operatorname(void)
{
memset(g_OperatorNameL, 0, sizeof(g_OperatorNameL));
}
static int gLpaSwitchFlag=0;
int sf_get_lpa_switch_flag()
int sf_get_lpa_switch_flag(void)
{
return gLpaSwitchFlag;
}

View File

@ -1045,7 +1045,7 @@ double sf_sys_s_time_get(time_t end_time)
}
time_t sf_time (time_t *__timer)
{
time(__timer);
return time(__timer);
}
SINT32 sf_video_send_ftp(void)
{

View File

@ -1326,6 +1326,7 @@ UINT8 sf_poweroff_check_lpa_enable_profile(void)
return 0;
}
}
return 0;
}
UINT8 sf_sms_content_parse(SF_CHAR *smsStr)
@ -1335,7 +1336,7 @@ UINT8 sf_sms_content_parse(SF_CHAR *smsStr)
SF_CHAR *lpaCmdStr = NULL;
UINT16 i = 0;
UINT16 smsCnt = 0;
UINT8 ret;
UINT8 ret = 0;
SF_SMS_LPA_CMD_T *pLpaCmd = NULL;
//UIMenuStoreInfo *sfParam = sf_app_ui_para_get();
//SF_PDT_PARAM_STATISTICS_S *sfStat = sf_statistics_param_get();