diff options
author | Remi Collet <remi@remirepo.net> | 2020-03-03 15:00:24 +0100 |
---|---|---|
committer | Remi Collet <remi@remirepo.net> | 2020-03-03 15:00:24 +0100 |
commit | c4a5636fb73a15d10f096e0aec86d0a98370b9e7 (patch) | |
tree | 7c9aea61203ebf6ee49b10ec1a8be5adfa49db19 | |
parent | 1460f8a9f4258e12056f7d36e8431217ae2d3839 (diff) |
missing patch
-rw-r--r-- | 0003-Mark-extern-definition-of-SDS_NOINIT-in-sds.h.patch | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/0003-Mark-extern-definition-of-SDS_NOINIT-in-sds.h.patch b/0003-Mark-extern-definition-of-SDS_NOINIT-in-sds.h.patch new file mode 100644 index 0000000..8ca1161 --- /dev/null +++ b/0003-Mark-extern-definition-of-SDS_NOINIT-in-sds.h.patch @@ -0,0 +1,29 @@ +From df079a0b34f922b75ad388b16f8f7eace52a09b0 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Wed, 12 Feb 2020 16:16:41 +1100 +Subject: [PATCH 3/3] Mark extern definition of SDS_NOINIT in sds.h + +This helps avoiding multiple definition of this variable, its also +defined globally in sds.c + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + src/sds.h | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/src/sds.h b/src/sds.h +index 1bdb60d..adcc12c 100644 +--- a/src/sds.h ++++ b/src/sds.h +@@ -34,7 +34,7 @@ + #define __SDS_H + + #define SDS_MAX_PREALLOC (1024*1024) +-const char *SDS_NOINIT; ++extern const char *SDS_NOINIT; + + #include <sys/types.h> + #include <stdarg.h> +-- +2.24.1 + |