aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/core/ngx_shmtx.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/ngx_shmtx.c b/src/core/ngx_shmtx.c
index 5a9242dfe..34148684f 100644
--- a/src/core/ngx_shmtx.c
+++ b/src/core/ngx_shmtx.c
@@ -299,10 +299,10 @@ ngx_shmtx_unlock(ngx_shmtx_t *mtx)
}
-void
+ngx_uint_t
ngx_shmtx_force_unlock(ngx_shmtx_t *mtx, ngx_pid_t pid)
{
- /* void */
+ return 0;
}
#endif