Commit b15373e4 authored by frtabu's avatar frtabu

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

parent c3c02bbd
...@@ -235,8 +235,8 @@ int measurcmd_async(char *buf, int debug, telnet_printfunc_t prnt) { ...@@ -235,8 +235,8 @@ int measurcmd_async(char *buf, int debug, telnet_printfunc_t prnt) {
int idx1, idx2; int idx1, idx2;
int okcmd=0; int okcmd=0;
if buff == NULL) { if (buf == NULL) {
measurcmd_async_help(); measurcmd_async_help(prnt);
return CMDSTATUS_FOUND; return CMDSTATUS_FOUND;
} }
if (debug > 0) if (debug > 0)
......
...@@ -56,7 +56,7 @@ typedef struct { ...@@ -56,7 +56,7 @@ typedef struct {
int msgid; /*!< \brief message id, as defined by TIMESTAT_MSGID_X macros */ 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 */ int timestat_id; /*!< \brief points to the time_stats_t entry in cpumeas table */
OAI_CPUTIME_TYPE ts; /*!< \brief time stamp */ 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; } time_stats_msg_t;
......
...@@ -421,7 +421,7 @@ typedef struct NRRrcConfigurationReq_s { ...@@ -421,7 +421,7 @@ typedef struct NRRrcConfigurationReq_s {
// UE: NAS -> RRC messages // UE: NAS -> RRC messages
typedef kenb_refresh_req_t NasKenbRefreshReq; 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 nas_establish_req_t NasConnEstabliReq;
typedef ul_info_transfer_req_t NasUlDataReq; typedef ul_info_transfer_req_t NasUlDataReq;
......
...@@ -483,7 +483,7 @@ typedef struct { ...@@ -483,7 +483,7 @@ typedef struct {
uint8_t status; uint8_t status;
PC5SignallingMessage pc5_signalling_message; PC5SignallingMessage pc5_signalling_message;
} pc5sPrimitive; } pc5sPrimitive;
} __attribute__((__packed__, aligned (__alignof__(char)))) sidelink_pc5s_element; } __attribute__((__packed__)) sidelink_pc5s_element;
/* /*
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment