Commit 32f5e263 authored by Rob Latham's avatar Rob Latham

declare the error strings 'static'

clients including keyval headers in multiple object files (e.g. mobject)
will complain about multiple definitions otherwise.
parent d6d66bf3
......@@ -43,7 +43,7 @@ typedef uint64_t sdskv_database_id_t;
#define SDSKV_ERR_KEYEXISTS -17 /* Put operation would override data */
#define SDSKV_ERR_END -18 /* End of range for valid error codes */
const char* const sdskv_error_messages[] = {
static const char* const sdskv_error_messages[] = {
"",
"Allocation error",
"Invalid argument",
......
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