From 3f4dff8a2a5b1074e1c68b3f7422e302a03fbc57 Mon Sep 17 00:00:00 2001 From: XXIV <13811862+thechampagne@users.noreply.github.com> Date: Fri, 6 Jan 2023 02:15:01 +0300 Subject: [PATCH] capi: Add missing void --- regex-capi/include/rure.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/regex-capi/include/rure.h b/regex-capi/include/rure.h index a87be61a89..01173b4518 100644 --- a/regex-capi/include/rure.h +++ b/regex-capi/include/rure.h @@ -408,7 +408,7 @@ size_t rure_captures_len(rure_captures *captures); * safe to call rure_compile from multiple threads simultaneously using the * same options pointer. */ -rure_options *rure_options_new(); +rure_options *rure_options_new(void); /* * rure_options_free frees the given options. @@ -536,7 +536,7 @@ size_t rure_set_len(rure_set *re); * It is not safe to use errors from multiple threads simultaneously. An error * value may be reused on subsequent calls to rure_compile. */ -rure_error *rure_error_new(); +rure_error *rure_error_new(void); /* * rure_error_free frees the error given.