From: Philippe Mathieu-Daudé Date: Mon, 20 Mar 2023 13:22:51 +0000 (+0100) Subject: qemu/uri: Use QueryParams type definition X-Git-Tag: v8.2.0-rc0~146^2~36 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7041adce08c3cbe52d70c0229cbec4167b358e3;p=thirdparty%2Fqemu.git qemu/uri: Use QueryParams type definition Follow QEMU CODING_STYLE, use the type definition, making that prototype match the following two. Signed-off-by: Philippe Mathieu-Daudé Reviewed-by: Peter Maydell Message-Id: <20230605175647.88395-4-philmd@linaro.org> --- diff --git a/include/qemu/uri.h b/include/qemu/uri.h index b43f35a6a60..2875c514179 100644 --- a/include/qemu/uri.h +++ b/include/qemu/uri.h @@ -96,7 +96,7 @@ typedef struct QueryParams { QueryParam *p; /* array of parameters */ } QueryParams; -struct QueryParams *query_params_new (int init_alloc); +QueryParams *query_params_new (int init_alloc); extern QueryParams *query_params_parse (const char *query); extern void query_params_free (QueryParams *ps);