Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/phpredis/phpredis.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Grunder <michael.grunder@gmail.com>2022-09-15 08:54:22 +0300
committerGitHub <noreply@github.com>2022-09-15 08:54:22 +0300
commitb3ce0486690a97832ac02504638d57831eae00ef (patch)
tree5f03314cac7710f9bd1b7bb6ac0a110556c067f1 /cluster_library.c
parent0f502c9ec57d5fcadadb001d9a36fb93c9bff9f9 (diff)
Fix non standards conforming prototypes. (#2150)
These now generate warnings with GCC 13
Diffstat (limited to 'cluster_library.c')
-rw-r--r--cluster_library.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cluster_library.c b/cluster_library.c
index 2512f0fd..b14b1ac4 100644
--- a/cluster_library.c
+++ b/cluster_library.c
@@ -359,7 +359,7 @@ static void cluster_dist_free_ht(zval *p) {
}
/* Spin up a HashTable that will contain distribution lists */
-HashTable *cluster_dist_create() {
+HashTable *cluster_dist_create(void) {
HashTable *ret;
ALLOC_HASHTABLE(ret);
@@ -375,7 +375,7 @@ void cluster_dist_free(HashTable *ht) {
}
/* Create a clusterDistList object */
-static clusterDistList *cluster_dl_create() {
+static clusterDistList *cluster_dl_create(void) {
clusterDistList *dl;
dl = emalloc(sizeof(clusterDistList));