We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 55615bf + 4c9e60f commit 4a6916aCopy full SHA for 4a6916a
src/hal/drivers/mesa-hostmot2/hostmot2.h
@@ -145,7 +145,7 @@ typedef struct {
145
rtapi_u32 idrom_type;
146
rtapi_u32 offset_to_modules;
147
rtapi_u32 offset_to_pin_desc;
148
- rtapi_u8 board_name[8]; // ascii string, but not NULL terminated!
+ rtapi_u8 board_name[8] __attribute__ ((nonstring)); // ASCII string, but not NULL terminated!
149
rtapi_u32 fpga_size;
150
rtapi_u32 fpga_pins;
151
rtapi_u32 io_ports;
src/hal/drivers/mesa-hostmot2/llio_info.c
@@ -26,7 +26,7 @@
26
#include "llio_info.h"
27
28
typedef struct __info_entry_t {
29
- char board_name[8];
+ char board_name[8] __attribute__ ((nonstring));
30
const char *base_name;
31
int num_ioport_connectors;
32
int pins_per_connector;
0 commit comments