Remove static to avoid compiler warning (#836)
This commit is contained in:
parent
9211aed72e
commit
b4d96caa78
@ -1267,7 +1267,7 @@ void clusterReset(int hard) {
|
|||||||
/* -----------------------------------------------------------------------------
|
/* -----------------------------------------------------------------------------
|
||||||
* CLUSTER communication link
|
* CLUSTER communication link
|
||||||
* -------------------------------------------------------------------------- */
|
* -------------------------------------------------------------------------- */
|
||||||
static clusterMsgSendBlock *createClusterMsgSendBlock(int type, uint32_t msglen) {
|
clusterMsgSendBlock *createClusterMsgSendBlock(int type, uint32_t msglen) {
|
||||||
uint32_t blocklen = msglen + offsetof(clusterMsgSendBlock, msg);
|
uint32_t blocklen = msglen + offsetof(clusterMsgSendBlock, msg);
|
||||||
clusterMsgSendBlock *msgblock = zcalloc(blocklen);
|
clusterMsgSendBlock *msgblock = zcalloc(blocklen);
|
||||||
msgblock->refcount = 1;
|
msgblock->refcount = 1;
|
||||||
|
Loading…
Reference in New Issue
Block a user