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.