From nobody Mon Feb 9 11:02:44 2026 Delivered-To: importer@patchew.org Received-SPF: pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) client-ip=192.237.175.120; envelope-from=xen-devel-bounces@lists.xenproject.org; helo=lists.xenproject.org; Authentication-Results: mx.zohomail.com; spf=pass (zohomail.com: domain of lists.xenproject.org designates 192.237.175.120 as permitted sender) smtp.mailfrom=xen-devel-bounces@lists.xenproject.org Return-Path: Received: from lists.xenproject.org (lists.xenproject.org [192.237.175.120]) by mx.zohomail.com with SMTPS id 1691011679586519.7083934279431; Wed, 2 Aug 2023 14:27:59 -0700 (PDT) Received: from list by lists.xenproject.org with outflank-mailman.575437.901171 (Exim 4.92) (envelope-from ) id 1qRJNe-0008G6-7X; Wed, 02 Aug 2023 21:27:42 +0000 Received: by outflank-mailman (output) from mailman id 575437.901171; Wed, 02 Aug 2023 21:27:42 +0000 Received: from localhost ([127.0.0.1] helo=lists.xenproject.org) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qRJNe-0008Ew-0h; Wed, 02 Aug 2023 21:27:42 +0000 Received: by outflank-mailman (input) for mailman id 575437; Wed, 02 Aug 2023 21:27:40 +0000 Received: from se1-gles-sth1-in.inumbo.com ([159.253.27.254] helo=se1-gles-sth1.inumbo.com) by lists.xenproject.org with esmtp (Exim 4.92) (envelope-from ) id 1qRJMU-0004vP-FI for xen-devel@lists.xenproject.org; Wed, 02 Aug 2023 21:26:30 +0000 Received: from mailhost.m5p.com (mailhost.m5p.com [74.104.188.4]) by se1-gles-sth1.inumbo.com (Halon) with ESMTPS id 3e3e1e12-317b-11ee-b263-6b7b168915f2; Wed, 02 Aug 2023 23:26:29 +0200 (CEST) Received: from m5p.com (mailhost.m5p.com [IPv6:2001:470:1f07:15ff:0:0:0:f7]) by mailhost.m5p.com (8.16.1/8.15.2) with ESMTPS id 372LQKx1008439 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NO); Wed, 2 Aug 2023 17:26:26 -0400 (EDT) (envelope-from ehem@m5p.com) Received: (from ehem@localhost) by m5p.com (8.16.1/8.15.2/Submit) id 372LQKN6008438; Wed, 2 Aug 2023 14:26:20 -0700 (PDT) (envelope-from ehem) X-Outflank-Mailman: Message body and most headers restored to incoming version X-BeenThere: xen-devel@lists.xenproject.org List-Id: Xen developer discussion List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Errors-To: xen-devel-bounces@lists.xenproject.org Precedence: list Sender: "Xen-devel" X-Inumbo-ID: 3e3e1e12-317b-11ee-b263-6b7b168915f2 Message-Id: In-Reply-To: References: From: Elliott Mitchell To: xen-devel@lists.xenproject.org Cc: Wei Liu Cc: Anthony PERARD Cc: Juergen Gross Date: Tue, 18 Jul 2023 23:07:20 -0700 Subject: [PATCH 12/22] tools/utils: remove YYLTYPE definition from libxlu_internal.h X-Spam-Status: No, score=2.5 required=10.0 tests=DATE_IN_PAST_96_XX, KHOP_HELO_FCRDNS autolearn=no autolearn_force=no version=3.4.6 X-Spam-Level: ** X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mattapan.m5p.com X-ZM-MESSAGEID: 1691011680037100001 Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" The definition was needed due to XLU_ConfigValue being before Bison's declaration of YYLTYPE. Since XLU_ConfigValue has moved to libxlu_cfg.c, the duplication is now unnecessary. Fixes: 1a09c5113a, 6ec86e91c8 ("libxlu: record location when parsing values= ") Signed-off-by: Elliott Mitchell --- Had @1a09c5113a placed the structure definition in libxlu_cfg_i.h, there never would have been a need to override YYLTYPE. --- tools/libs/util/libxlu_internal.h | 9 --------- 1 file changed, 9 deletions(-) diff --git a/tools/libs/util/libxlu_internal.h b/tools/libs/util/libxlu_int= ernal.h index 1a9d25e14e..c68669c3a1 100644 --- a/tools/libs/util/libxlu_internal.h +++ b/tools/libs/util/libxlu_internal.h @@ -31,15 +31,6 @@ struct XLU_ConfigList { XLU_ConfigValue **values; }; =20 -typedef struct XLU__CFG_YYLTYPE -{ - int first_line; - int first_column; - int last_line; - int last_column; -} XLU__CFG_YYLTYPE; -#define XLU__CFG_YYLTYPE_IS_DECLARED - typedef struct XLU_ConfigSetting XLU_ConfigSetting; =20 struct XLU_Config { --=20 (\___(\___(\______ --=3D> 8-) EHM <=3D-- ______/)___/)___= /) \BS ( | ehem+sigmsg@m5p.com PGP 87145445 | ) / \_CS\ | _____ -O #include O- _____ | / _/ 8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445