summary refs log tree commit diff stats
path: root/include/qemu/uri.h
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2023-03-20 14:22:51 +0100
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2023-08-31 19:47:43 +0200
commita7041adce08c3cbe52d70c0229cbec4167b358e3 (patch)
treef104e8bd0eedf70a828717f8234c95b185638223 /include/qemu/uri.h
parent669dcb606eb244689dd96654309674c0b8eca092 (diff)
downloadfocaccia-qemu-a7041adce08c3cbe52d70c0229cbec4167b358e3.tar.gz
focaccia-qemu-a7041adce08c3cbe52d70c0229cbec4167b358e3.zip
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>
Diffstat (limited to 'include/qemu/uri.h')
-rw-r--r--include/qemu/uri.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/qemu/uri.h b/include/qemu/uri.h
index b43f35a6a6..2875c51417 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);