From a8981212f513dadd4954173a4cb117d96c32e85c Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 3 Sep 2022 10:54:10 +0100 Subject: [PATCH] Add a missing prototype. Too much C++, I expect - 'void foo()' in C++ means what I wanted it to mean! --- misc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/misc.h b/misc.h index f9e59b50..1b3d324a 100644 --- a/misc.h +++ b/misc.h @@ -518,7 +518,7 @@ bool cert_expr_match_str(const char *expression, * to handle legacy configuration from early in development, when * multiple wildcards were stored separately in config, implicitly * ORed together. */ -CertExprBuilder *cert_expr_builder_new(); +CertExprBuilder *cert_expr_builder_new(void); void cert_expr_builder_free(CertExprBuilder *eb); void cert_expr_builder_add(CertExprBuilder *eb, const char *wildcard); char *cert_expr_expression(CertExprBuilder *eb);