diff options
author | Khem Raj <raj.khem@gmail.com> | 2019-12-21 11:17:50 -0800 |
---|---|---|
committer | antirez <antirez@gmail.com> | 2020-02-12 14:06:04 +0100 |
commit | 3c610b4e8d8d4b09254c5e1a435ca25b82710e38 (patch) | |
tree | 81e75973d7dc8a916d323f74c91a1b2272a97f64 | |
parent | 16b2d07f0a9b58027611dab7f97788d37cb5ab84 (diff) | |
download | redis-3c610b4e8d8d4b09254c5e1a435ca25b82710e38.tar.gz |
Mark extern definition of SDS_NOINIT in sds.h
This helps in avoiding multiple definition of this variable, its also
defined globally in sds.c
Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r-- | src/sds.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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> |