Received: by 2002:a17:906:b2c6:b0:930:eaf4:5c09 with SMTP id cf6csp2824206ejb; Mon, 20 Mar 2023 06:43:00 -0700 (PDT) X-Google-Smtp-Source: AK7set/Iftuhb8dUdqAX9VANdkNCqhKUpIQt03VBRNZiXWU/onPkrk0URM1MBXBiHVSim7ovInx/ X-Received: by 2002:a05:6214:238e:b0:56e:9ab5:cd9f with SMTP id fw14-20020a056214238e00b0056e9ab5cd9fmr48476211qvb.39.1679319780019; Mon, 20 Mar 2023 06:43:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1679319780; cv=none; d=google.com; s=arc-20160816; b=rwm34kg7kK/zIp/+RcYlSY0bom5KGDlQ/zkvQULFy205738fu0428hr+m47mpYEANB 0kXRUI1XQX9ddSxtg07nOSUvyCuIfr+KPLeiJ2ygdIpwKY5+yKRdZ69eVzclYVkFguVd 69Q5ARkHXlX3xMEHxSRjR+v6Ycuw+J40P0I1WLyhRVaCkNITHc02BJhHh2IjsDW/tDTB QQDYmmtYqzuXkVg2o2rBm5RXn/TsLpxIuWUJe0rwbBqKzSyCNO/3Hz+EWx5wePxoOF2i RWEEbfwRpTTO6RekwzX3bxgP4FGFpgFUOeo67jRu3KSJpWr+my57ytvZWehZstCOORkn oCmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=sender:errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=m8uaccxHJ+UC9X9MhGYwy+hp8RackIzB3cnPRGAUhR4=; b=dmxlzpZraIHEXfSEoe5JS0JLYLJRyWzmQGsIh49NtuywfIuHXMeZebkfokfhUACJRM YR7hP3HoLIs0iMtc1i0s+YZgYdqR+SS4Fa6/6MI0EekFtT3fkG0o/XADFknzwEdLbeFa 3+86EljtZ5f3vHwtzFtPRV0MZ4d7mD1jTdlnOIk3TD8MTyX2+JniI2lH1iLzTcSl4BgC rdw1TqJJbag3N2W8ZiHECQqqXSq4j8dqWQN1qb70Tq/ecTRv6aewjtH2h0vIbMdXaHPb yZpbv864WZsgFWqGjgkp31GyG/J+uYANd837pJ/Aj3zZuZIJJ1WzkHgOzT0JSUuZhpNZ xuFA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="pXD5f/oM"; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from lists.gnu.org (lists.gnu.org. [209.51.188.17]) by mx.google.com with ESMTPS id g8-20020ad45108000000b0056f2ba3d7c9si5824665qvp.156.2023.03.20.06.42.59 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Mon, 20 Mar 2023 06:43:00 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) client-ip=209.51.188.17; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="pXD5f/oM"; spf=pass (google.com: domain of qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1peFma-0006iO-01; Mon, 20 Mar 2023 09:42:40 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1peFmY-0006e2-AV for qemu-devel@nongnu.org; Mon, 20 Mar 2023 09:42:38 -0400 Received: from mail-wm1-x333.google.com ([2a00:1450:4864:20::333]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1peFmW-0001q3-Rl for qemu-devel@nongnu.org; Mon, 20 Mar 2023 09:42:38 -0400 Received: by mail-wm1-x333.google.com with SMTP id o32so1147244wms.1 for ; Mon, 20 Mar 2023 06:42:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1679319756; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:from:to:cc:subject:date :message-id:reply-to; bh=m8uaccxHJ+UC9X9MhGYwy+hp8RackIzB3cnPRGAUhR4=; b=pXD5f/oM8PT4H6J+wA6bIu79r1cXBg7ytZ7/rzPzBpHmmIx1n8JKTSe1Fk56v1iHFe 9QtagE9qouxeqweTLJNe1Naz/tanzozWTA4JqbvXqJxYcLARzcd5aRn/Oc99TWEd/hc3 rSJl3KZ7SH/+fA5A5zlH9LbRoL+B4F+02RFRHM8fCvF9jk69FqDIV/ptBilY+1FkajVE RFnV3GMN7UvQtOLGR3yhg+9z1LvKssTuFxt5kjPGW33A260DZCPSPJJ5VpfDuoKEptCc 3Q9i/Y3QMAmBkJ3j1yKn09zlA0Lk2O5dsnUnqocRhTaasIQ2xAxX74q8/b1cA955yu18 uoqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1679319756; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:cc:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=m8uaccxHJ+UC9X9MhGYwy+hp8RackIzB3cnPRGAUhR4=; b=auqJ/APyCoeLA9uRxAH2v0S1Q3s0uzjRx5TJK5GJE+gUU0yQiqKcHLd6mClNvvmx/G G2v2LoELgvo/hXaWM7uWXcErWeKlrhT7eZF6Y3ickHjRSWXvabcUWwk9avrI8Ut6nvgI 8ouQhPUfBK21qMepr0dYTxSGKDPIkLV/nLtY4GeG6XtPmfMlNEBdL+7ao/p1BqTNSgHJ ajMFdQ97wWg090US3LQbbMJ/zACO4os1f3PK1ul86IHGfD8QjwJkQKH12JaBxzXdh7Gx LYdT1s+3m6Sn/vfk83S64ZP8XsXgl/Js5Z3oe0rlbnowD7lXRZZnapipWLuWyI8e/8zX KIdw== X-Gm-Message-State: AO0yUKX0fRx9hPNom/YfBoSLfhTA2fmvaDByqDZjW3FK4URK7la2Mwu1 hfFQGELtEViRYoVe3Z4uA8qEvN4IcDEa4ybMh/a7CQ== X-Received: by 2002:a05:600c:3549:b0:3eb:39e7:35fe with SMTP id i9-20020a05600c354900b003eb39e735femr32589880wmq.30.1679319755826; Mon, 20 Mar 2023 06:42:35 -0700 (PDT) Received: from localhost.localdomain ([81.0.6.76]) by smtp.gmail.com with ESMTPSA id k5-20020adfe8c5000000b002d748d46565sm2178996wrn.74.2023.03.20.06.42.35 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Mon, 20 Mar 2023 06:42:35 -0700 (PDT) From: =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-block@nongnu.org, =?UTF-8?q?Philippe=20Mathieu-Daud=C3=A9?= Subject: [PATCH-for-8.1 3/5] qemu/uri: Use QueryParams type definition Date: Mon, 20 Mar 2023 14:42:17 +0100 Message-Id: <20230320134219.22489-4-philmd@linaro.org> X-Mailer: git-send-email 2.38.1 In-Reply-To: <20230320134219.22489-1-philmd@linaro.org> References: <20230320134219.22489-1-philmd@linaro.org> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a00:1450:4864:20::333; envelope-from=philmd@linaro.org; helo=mail-wm1-x333.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=unavailable autolearn_force=no X-Spam_action: no action X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org Sender: qemu-devel-bounces+alex.bennee=linaro.org@nongnu.org X-TUID: J/gtM1qxhZAM Follow QEMU CODING_STYLE, use the type definition. Signed-off-by: Philippe Mathieu-Daudé --- include/qemu/uri.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/qemu/uri.h b/include/qemu/uri.h index 3ad211d676..10dff8aedd 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); -- 2.38.1