test_end();
}
-static const char mb64[64]="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+,";
+static const char mb64[64] ATTR_NONSTRING =
+ "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+,";
static void test_imap_utf7_non_utf16(void)
{
string_t *dest, *dest2;
struct test_header_data {
uint32_t line1, line2;
uint32_t end_of_lines;
- char headers[8];
+ char headers[8] ATTR_NONSTRING;
};
enum {
HAPROXY_SOCK_DGRAM = 0x02
};
-static const char haproxy_v2sig[12] =
+static const char haproxy_v2sig[12] ATTR_NONSTRING =
"\x0D\x0A\x0D\x0A\x00\x0D\x0A\x51\x55\x49\x54\x0A";
struct haproxy_header_v2 {
struct word {
const short value;
- const char word[4];
+ const char word[4] ATTR_NONSTRING;
};
static const struct word dictionary[2048] = {
bool destroyed:1;
};
-static unsigned char ostream_multiplex_header[IOSTREAM_MULTIPLEX_HEADER_SIZE] =
+static unsigned char ostream_multiplex_header[IOSTREAM_MULTIPLEX_HEADER_SIZE] ATTR_NONSTRING =
"\xFF\xFF\xFF\xFF\xFF\x00\x02"
IOSTREAM_MULTIPLEX_CHANNEL_SWITCH_PREFIX;
static void test_istream_sized_full(bool exact)
{
- const unsigned char test_data[10] = "1234567890";
+ const unsigned char test_data[10] ATTR_NONSTRING = "1234567890";
struct istream *test_input, *input;
unsigned int i, j;
int expected_errno;