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é <philmd@linaro.org>
Reviewed-by: Peter Maydell <peter.maydell@linaro.org>
Message-Id: <20230605175647.88395-4-philmd@linaro.org>
This commit is contained in:
Philippe Mathieu-Daudé 2023-03-20 14:22:51 +01:00
parent 669dcb606e
commit a7041adce0

View File

@ -96,7 +96,7 @@ typedef struct QueryParams {
QueryParam *p; /* array of parameters */ QueryParam *p; /* array of parameters */
} QueryParams; } 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 QueryParams *query_params_parse (const char *query);
extern void query_params_free (QueryParams *ps); extern void query_params_free (QueryParams *ps);