qemu/uri: Use QueryParams type definition
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Mon, 20 Mar 2023 13:22:51 +0000 (14:22 +0100)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Thu, 31 Aug 2023 17:47:43 +0000 (19:47 +0200)
Follow QEMU CODING_STYLE, use the type definition,
making that prototype match the following two.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230605175647.88395-4-philmd@linaro.org>

include/qemu/uri.h

index b43f35a6a60e2d6828d89b3792f20115016f033b..2875c514179964ecdc9f7b846ed54e3ccb08430e 100644 (file)
@@ -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);