[Tarantool-patches] [PATCH 14/22] call: use void for empty args

Cyrill Gorcunov gorcunov at gmail.com
Fri Jul 3 17:45:18 MSK 2020


Part-of #4718

Signed-off-by: Cyrill Gorcunov <gorcunov at gmail.com>
---
 src/lib/coll/coll.c | 4 ++--
 src/lib/coll/coll.h | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/src/lib/coll/coll.c b/src/lib/coll/coll.c
index fa27bf34e..ea89971f8 100644
--- a/src/lib/coll/coll.c
+++ b/src/lib/coll/coll.c
@@ -417,7 +417,7 @@ coll_unref(struct coll *coll)
 }
 
 void
-coll_init()
+coll_init(void)
 {
 	UErrorCode err = U_ZERO_ERROR;
 	coll_cache = mh_coll_new();
@@ -429,7 +429,7 @@ coll_init()
 }
 
 void
-coll_free()
+coll_free(void)
 {
 	ucasemap_close(icu_ucase_default_map);
 	ucnv_close(icu_utf8_conv);
diff --git a/src/lib/coll/coll.h b/src/lib/coll/coll.h
index dc343539e..cef80fbe4 100644
--- a/src/lib/coll/coll.h
+++ b/src/lib/coll/coll.h
@@ -123,11 +123,11 @@ coll_unref(struct coll *coll);
 
 /** Initialize collations subsystem. */
 void
-coll_init();
+coll_init(void);
 
 /** Destroy collations subsystem. */
 void
-coll_free();
+coll_free(void);
 
 #if defined(__cplusplus)
 } /* extern "C" */
-- 
2.26.2



More information about the Tarantool-patches mailing list