Skip to content

Commit a526067

Browse files
FRASTMfpistm
authored andcommitted
Revert "Fix [-Waddress-of-packed-member] warning"
1 parent b64df41 commit a526067

File tree

1 file changed

+2
-10
lines changed

1 file changed

+2
-10
lines changed

Diff for: src/utility/STM32Cube_FW/stm_list.h

+2-10
Original file line numberDiff line numberDiff line change
@@ -23,14 +23,10 @@
2323

2424
/* Includes ------------------------------------------------------------------*/
2525

26+
#include "stdint.h"
2627
#include "stdbool.h"
27-
#include "stm32_wpan_common.h"
2828

29-
#ifdef __cplusplus
30-
extern "C" {
31-
#endif
32-
33-
typedef PACKED_STRUCT _tListNode {
29+
typedef struct _tListNode {
3430
struct _tListNode *next;
3531
struct _tListNode *prev;
3632
} tListNode;
@@ -59,8 +55,4 @@ void LST_get_next_node(tListNode *ref_node, tListNode **node);
5955

6056
void LST_get_prev_node(tListNode *ref_node, tListNode **node);
6157

62-
#ifdef __cplusplus
63-
}
64-
#endif
65-
6658
#endif /* _STM_LIST_H_ */

0 commit comments

Comments
 (0)