mirror of
https://github.com/redis/redis.git
synced 2026-06-09 08:55:06 -04:00
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>
This commit is contained in:
parent
324e22accf
commit
af02478ba0
1 changed files with 1 additions and 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>
|
||||
|
|
|
|||
Loading…
Reference in a new issue