Remove redundant void from C++ sources (#1486)
diff --git a/src/hb-face.cc b/src/hb-face.cc
index d8b5026..4bf84b9 100644
--- a/src/hb-face.cc
+++ b/src/hb-face.cc
@@ -224,7 +224,7 @@
* Since: 0.9.2
**/
hb_face_t *
-hb_face_get_empty (void)
+hb_face_get_empty ()
{
return const_cast<hb_face_t *> (&Null(hb_face_t));
}
@@ -603,7 +603,7 @@
};
static hb_face_builder_data_t *
-_hb_face_builder_data_create (void)
+_hb_face_builder_data_create ()
{
hb_face_builder_data_t *data = (hb_face_builder_data_t *) calloc (1, sizeof (hb_face_builder_data_t));
if (unlikely (!data))
@@ -692,7 +692,7 @@
* Since: 1.9.0
**/
hb_face_t *
-hb_face_builder_create (void)
+hb_face_builder_create ()
{
hb_face_builder_data_t *data = _hb_face_builder_data_create ();
if (unlikely (!data)) return hb_face_get_empty ();