remove 2 useless modif which added alignment attributes, fix telnet server compilation erro

This commit is contained in:
frtabu
2021-10-20 17:09:46 +02:00
parent c3c02bbd91
commit b15373e414
4 changed files with 5 additions and 5 deletions
@@ -235,8 +235,8 @@ int measurcmd_async(char *buf, int debug, telnet_printfunc_t prnt) {
int idx1, idx2;
int okcmd=0;
if buff == NULL) {
measurcmd_async_help();
if (buf == NULL) {
measurcmd_async_help(prnt);
return CMDSTATUS_FOUND;
}
if (debug > 0)
+1 -1
View File
@@ -56,7 +56,7 @@ typedef struct {
int msgid; /*!< \brief message id, as defined by TIMESTAT_MSGID_X macros */
int timestat_id; /*!< \brief points to the time_stats_t entry in cpumeas table */
OAI_CPUTIME_TYPE ts; /*!< \brief time stamp */
void (*displayFunc)(void *); /*!< \brief function to call when DISPLAY message is received*/
void *displayFunc; /*!< \brief function to call when DISPLAY message is received*/
} time_stats_msg_t;
+1 -1
View File
@@ -421,7 +421,7 @@ typedef struct NRRrcConfigurationReq_s {
// UE: NAS -> RRC messages
typedef kenb_refresh_req_t NasKenbRefreshReq;
typedef cell_info_req_t NasCellSelectionReq __attribute__ (( aligned (__alignof__(char)) ));
typedef cell_info_req_t NasCellSelectionReq;
typedef nas_establish_req_t NasConnEstabliReq;
typedef ul_info_transfer_req_t NasUlDataReq;
+1 -1
View File
@@ -483,7 +483,7 @@ typedef struct {
uint8_t status;
PC5SignallingMessage pc5_signalling_message;
} pc5sPrimitive;
} __attribute__((__packed__, aligned (__alignof__(char)))) sidelink_pc5s_element;
} __attribute__((__packed__)) sidelink_pc5s_element;
/*