remove gcc warnings
phy_init_lte_ue_signal was renamed init_lte_ue_signal in openair1/PHY/INIT/defs.h maybe it's the opposite that should have been done? Functions used in one file and defined in another may have been declared in the wrong header file.
This commit is contained in:
@@ -215,7 +215,7 @@ int cli_login(const char *username, int maxnodes, int maxcmds)
|
||||
|
||||
char *cli_prompt(void)
|
||||
{
|
||||
static char promptstr[200];
|
||||
static char promptstr[256];
|
||||
promptstr[0]='\0';
|
||||
snprintf(promptstr, 200,"%s@%s",username, cli_cfg->prompt);
|
||||
return promptstr;
|
||||
|
||||
@@ -103,7 +103,7 @@ int prompt (char *arg)
|
||||
return 0;
|
||||
|
||||
if (!arg || !*arg) { // no arg is provided, run get func
|
||||
snprintf(buffer,200,"%s\n", cli_cfg->prompt);
|
||||
snprintf(buffer,256,"%s\n", cli_cfg->prompt);
|
||||
send(cli_cfg->cfd, buffer, strlen(buffer), 0);
|
||||
// send(cli_cfg->cfd, cli_cfg->prompt, strlen(cli_cfg->prompt), 0);
|
||||
} else {// set func
|
||||
|
||||
@@ -48,10 +48,11 @@ extern unsigned char NB_UE_INST;
|
||||
|
||||
//#include "LAYER2/MAC/extern.h"
|
||||
|
||||
#undef MAX
|
||||
#define MAX(x,y) ((x)>(y)?(x):(y))
|
||||
#undef MIN
|
||||
#define MIN(x,y) ((x)<(y)?(x):(y))
|
||||
|
||||
|
||||
// Check if the packet is well received or not and extract data
|
||||
int otg_rx_pkt(const int dst_instanceP, const int ctime, const char * const buffer_tx, const unsigned int size)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user