From patchwork Thu Aug 31 12:56:05 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= X-Patchwork-Id: 718981 Delivered-To: patch@linaro.org Received: by 2002:adf:e5c2:0:b0:31d:da82:a3b4 with SMTP id a2csp454987wrn; Thu, 31 Aug 2023 06:01:02 -0700 (PDT) X-Google-Smtp-Source: AGHT+IE3jfJ2gwt7DJaRzIUbzMJWIuElwLY4D1U8HfTZaMmWjjL24s4jkSqvejAvJCW8FK9PSzAh X-Received: by 2002:a05:6358:9989:b0:129:d05d:691e with SMTP id j9-20020a056358998900b00129d05d691emr6573691rwb.19.1693486862556; Thu, 31 Aug 2023 06:01:02 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1693486862; cv=none; d=google.com; s=arc-20160816; b=CRhDK/5acf7gaTN2QICTXqN5IProLO9+rl/m5KvJ4AZ5IVy0I7XwzgRWv3KzFmXc4Q fQZWCr4sPLOW0TWkvk+VMbopP2TI8/VovYeEypSy8CIGjx0HGWLhwiByD0Rn1XMsQVlO NfEKP5LtjF69Jx/pOziXBSldqU0PjSKyvq8e1HUopaMgaIPfxfi5yI7Nte65kxW+cjXf JuuA5IcQ+Mk5L5thlEOkskVeNcItHE4CX/piBX+pPTQh8iQalC+1osQgMfADLd2hNQXj sw6APw+/xyDTs7rapH0KCV5tiURZT2O5FPk7UbOnO/I/99XKI3ZcpHTrrPwc2a7wWn1o 3/gQ== 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=aVa0NtnHK7rvI035uHhcp5vIA6pkk4dL+deBSQt+atY=; fh=8HLhek0fCRY9CNhIbsrpPv2KS3B438mEPZtUlmXQ5xA=; b=Aftc2DfWYV+BxZcWXigvkXQWstH8kLnhSVdYFTXdWGpKCdhL4+LJsUxGJUR6TIschz cZt8/KPdItzWk6e4+wPuCtLJmvtV6nDpgYwa1vy4ol1A+orYtwCX6cPvzQvIZNwIqfQY JjMfJDf09WYTdL42t28jqX7+m8ktNMOBNeG+EsDEZZNDPOVRi1ItQpu+wbagCnKTlY0k nJKTWr7le/dNOWK1kHWVlSwBWie+pFgtv5/aCei9jLQiBLGJrAv4xGHzvh53whcZqe3K gcqUZvaOs6Vz9/vUEzWAgKRaAaB2TP2xtaqpAXJjyl4f3Df8GJSMVWPyQ19OBeWGEaAg vGUQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=EDSohC7P; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=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 h2-20020a05620a400200b0076cc34b44c1si953679qko.292.2023.08.31.06.01.02 for (version=TLS1_2 cipher=ECDHE-ECDSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 Aug 2023 06:01:02 -0700 (PDT) Received-SPF: pass (google.com: domain of qemu-devel-bounces+patch=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=EDSohC7P; spf=pass (google.com: domain of qemu-devel-bounces+patch=linaro.org@nongnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom="qemu-devel-bounces+patch=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 1qbhEo-0002eg-2h; Thu, 31 Aug 2023 08:57:30 -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 1qbhEW-0002KR-Gq for qemu-devel@nongnu.org; Thu, 31 Aug 2023 08:57:13 -0400 Received: from mail-wm1-x336.google.com ([2a00:1450:4864:20::336]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qbhET-00058H-6a for qemu-devel@nongnu.org; Thu, 31 Aug 2023 08:57:12 -0400 Received: by mail-wm1-x336.google.com with SMTP id 5b1f17b1804b1-40078c4855fso7014915e9.3 for ; Thu, 31 Aug 2023 05:57:07 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1693486626; x=1694091426; darn=nongnu.org; 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=aVa0NtnHK7rvI035uHhcp5vIA6pkk4dL+deBSQt+atY=; b=EDSohC7PA2zAbK5akzAukNSivCLGisvbINZHctfF65M0Qk3TJcnrEnXb8FYg7fnZhY DZKdy1fSsAA5V/ogs0nkmmfnCf/jarlJUhutRBNkaksVnMEdCtIrlRJmoeSwdUOpkwqs lpNl9w7dgDfiMLVPeMw7QbP+aOBilH/ZdTD4FG1n3P+UQI8ZyrkIfJU5dr8tcWKsjMYs pojw03rwh6OKTOOLiP81rgF2YpwZ8ZVUPfoD/C55uRa496WOKFYieihZMTDni4MEfUb1 HnobqqGn5s76K6cgqnNd6/ESV7BmsMteofWEHMBqeumh3xqz7a8dK7ceYGx9dH0GAfmm vohA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1693486626; x=1694091426; 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=aVa0NtnHK7rvI035uHhcp5vIA6pkk4dL+deBSQt+atY=; b=RRM2uW8I/S1b/NokQZHb4GbH4KS33KqUgeYy1gM63q6JoMl/rysIjcwbRz8frCSghA TjxaYtJFdw7SAW84jJuQWZQmB6VJJUgqchgqYhZp1X8+9aKRkGUvu3hvxuQ4Zd9WWo7X DAFhteHrpkMyBj5Y2k7ckkOvfrXmWQHVXFTRIJTXvAd1cNfJ9LTJ6NKI/OkNK5SCUa+Y JomVfxhZftTSCYqA0xO/wfR07/y7WLoJo53yOmrfQ8HjmqvLl8Aq8UA/L/u+t8P4okmo QOflpll88Q7biRwVHL8fOApaj2yicOnlN1pbcZie/JWmA2F54UCPSpfJQpotSqHMAh3W m55w== X-Gm-Message-State: AOJu0YwCPsnYfLbVuopC4EzxqyaO37zBnCUE4gvFgrBIYek1ryz47Jk0 ArRB8GEdZpgtxGqQ573Tz4HSU5y74wlMmDRQFWw= X-Received: by 2002:a5d:6150:0:b0:319:6d3c:c5e5 with SMTP id y16-20020a5d6150000000b003196d3cc5e5mr3909177wrt.58.1693486626202; Thu, 31 Aug 2023 05:57:06 -0700 (PDT) Received: from m1x-phil.lan ([176.187.199.245]) by smtp.gmail.com with ESMTPSA id r16-20020a05600c299000b00400268671c6sm1911549wmd.13.2023.08.31.05.57.04 (version=TLS1_3 cipher=TLS_CHACHA20_POLY1305_SHA256 bits=256/256); Thu, 31 Aug 2023 05:57:05 -0700 (PDT) From: =?utf-8?q?Philippe_Mathieu-Daud=C3=A9?= To: qemu-devel@nongnu.org Cc: qemu-arm@nongnu.org, qemu-s390x@nongnu.org, qemu-ppc@nongnu.org, qemu-riscv@nongnu.org, qemu-block@nongnu.org, =?utf-8?q?Philippe_Mathieu-Da?= =?utf-8?q?ud=C3=A9?= , Peter Maydell Subject: [PULL 03/41] qemu/uri: Use QueryParams type definition Date: Thu, 31 Aug 2023 14:56:05 +0200 Message-ID: <20230831125646.67855-4-philmd@linaro.org> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230831125646.67855-1-philmd@linaro.org> References: <20230831125646.67855-1-philmd@linaro.org> MIME-Version: 1.0 Received-SPF: pass client-ip=2a00:1450:4864:20::336; envelope-from=philmd@linaro.org; helo=mail-wm1-x336.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+patch=linaro.org@nongnu.org Sender: qemu-devel-bounces+patch=linaro.org@nongnu.org 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> --- 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 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);