Skip to content

Commit 673ac46

Browse files
committed
memstore: make empty_callback signature compatible with C23
1 parent c295045 commit 673ac46

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/store/memory/memstore.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1394,7 +1394,7 @@ ngx_int_t nchan_memstore_publish_generic(memstore_channel_head_t *head, nchan_ms
13941394

13951395
static ngx_int_t chanhead_messages_delete(memstore_channel_head_t *ch);
13961396

1397-
static ngx_int_t empty_callback(){
1397+
static ngx_int_t empty_callback(ngx_int_t, void *, void *){
13981398
return NGX_OK;
13991399
}
14001400

src/subscribers/memstore_ipc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ struct sub_data_s {
2626
ngx_event_t timeout_ev;
2727
}; //sub_data_t
2828

29-
static ngx_int_t empty_callback(){
29+
static ngx_int_t empty_callback(ngx_int_t, void *, void *){
3030
return NGX_OK;
3131
}
3232

0 commit comments

Comments
 (0)