Eliminate an annoying compilation warning
Alpine 3.24 Success
OpenBSD 7.8 Success

This commit is contained in:
2026-08-05 09:27:39 +02:00
parent 998122267b
commit 7f2156c3d7
+12 -1
View File
@@ -108,6 +108,17 @@ extern char **environ;
#define ATTRIBUTE_SENTINEL
#endif // ! __GNUC__ || __GNUC__ < 4
// Since Clang 2.9 and later GCC 5
#ifndef __has_attribute
#define __has_attribute(x) 0
#endif
#if __has_attribute (nonstring)
#define ATTRIBUTE_NONSTRING __attribute__ ((nonstring))
#else
#define ATTRIBUTE_NONSTRING
#endif
#define N_ELEMENTS(a) (sizeof (a) / sizeof ((a)[0]))
#define BLOCK_START do {
@@ -838,7 +849,7 @@ random_bytes (void *output, size_t len, struct error **e)
// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
static unsigned char g_siphash_key[16] = "SipHash 2-4 key!";
static unsigned char g_siphash_key[16] ATTRIBUTE_NONSTRING = "SipHash 2-4 key!";
static inline void
siphash_wrapper_randomize (void)