TerminateModuleForkChild(): fix function prototype.
This commit is contained in:
parent
721d3c9e0c
commit
0a07f8ffee
@ -5189,7 +5189,7 @@ int RM_ExitFromChild(int retcode) {
|
||||
/* Kill the active module forked child, if there is one active and the
|
||||
* pid matches, and returns C_OK. Otherwise if there is no active module
|
||||
* child or the pid does not match, return C_ERR without doing anything. */
|
||||
void TerminateModuleForkChild(int child_pid, int wait) {
|
||||
int TerminateModuleForkChild(int child_pid, int wait) {
|
||||
/* Module child should be active and pid should match. */
|
||||
if (server.module_child_pid == -1 ||
|
||||
server.module_child_pid != child_pid) return C_ERR;
|
||||
|
@ -1552,7 +1552,7 @@ void moduleReleaseGIL(void);
|
||||
void moduleNotifyKeyspaceEvent(int type, const char *event, robj *key, int dbid);
|
||||
void moduleCallCommandFilters(client *c);
|
||||
void ModuleForkDoneHandler(int exitcode, int bysignal);
|
||||
void TerminateModuleForkChild(int child_pid, int wait);
|
||||
int TerminateModuleForkChild(int child_pid, int wait);
|
||||
ssize_t rdbSaveModulesAux(rio *rdb, int when);
|
||||
int moduleAllDatatypesHandleErrors();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user