From patchwork Mon Jul 10 15:04:38 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: =?utf-8?q?Cristian_Rodr=C3=ADguez?= X-Patchwork-Id: 72429 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 91372385AFA3 for ; Mon, 10 Jul 2023 15:06:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 91372385AFA3 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1689001612; bh=u2B0cOKLEokxd4+V1J8bfxc2jdpZKo2H8wUh8HugUeM=; h=To:Cc:Subject:Date:In-Reply-To:References:List-Id: List-Unsubscribe:List-Archive:List-Post:List-Help:List-Subscribe: From:Reply-To:From; b=glUsh1y692zD52454OqS5R37SZCOVHHHYh2ILJgoZTYFtU0OPZEYThuhMzlL0no+K 32p05G1TtM+iV876+xoQIjKzQo1X1hbABd4evZHst/YPxTMoxphZ4nhVSsYCT3Xkuv +cN0Kk4nkDBYhba7pnMhvh9YpvyBjP/Bxnz8Cb8k= X-Original-To: libc-alpha@sourceware.org Delivered-To: libc-alpha@sourceware.org Received: from mail-ot1-x332.google.com (mail-ot1-x332.google.com [IPv6:2607:f8b0:4864:20::332]) by sourceware.org (Postfix) with ESMTPS id CE0A0385AFA0 for ; Mon, 10 Jul 2023 15:05:11 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org CE0A0385AFA0 Received: by mail-ot1-x332.google.com with SMTP id 46e09a7af769-6b96712d49dso280035a34.0 for ; Mon, 10 Jul 2023 08:05:11 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689001511; x=1691593511; 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=u2B0cOKLEokxd4+V1J8bfxc2jdpZKo2H8wUh8HugUeM=; b=GnWDPGqcHD+wqmuJhoJIu1+zneEGshRlmAQIF/4lre7DLBAxHxTJneUkWV2XTLT2gd RStcb+u7FQIn8Nv4fnRhykhzx42YBMEflpGPT5hnIPfX3ardZpf1uQ6S27wYsOP+M5go o6jBj646F2P9RovQXV5kSKGLSyGOeh46PARaDL13i00RFh5UZgY92i/MNSowVo/fuxjH LfYiQK5ezcfHMsEV6vrPr+dhHvS8WobtQj5CzCvc4yfuFEuIrLP0Bp3DBx3PikopVRVf LnbovpY1rbkqBf2xvr9Zo8syI5CyYbP/0Y2JIn5GI+64duGdTzADAWjcbCn6lW4eqTcO IRAw== X-Gm-Message-State: ABy/qLYBFnCfjZoNdyINjL5gGcwLrOrqlgrpo/Uglz/w1dHJFBScQC4l oTRgVD6bXRHSrazj96h6B1o5o7G/p1KCQdR3Ih0= X-Google-Smtp-Source: APBJJlHEPxg+/OTHmmThTzruNElxqDmLhbR6F8+MI2b60/FR0wYJEMqtE6GWsAPXKLjV260nz50Gxw== X-Received: by 2002:a05:6830:6204:b0:6b8:7653:dd66 with SMTP id cd4-20020a056830620400b006b87653dd66mr10945704otb.0.1689001510975; Mon, 10 Jul 2023 08:05:10 -0700 (PDT) Received: from tumbleweedvm.. (181-162-56-31.baf.movistar.cl. [181.162.56.31]) by smtp.gmail.com with ESMTPSA id r2-20020a9d7cc2000000b006b756242c98sm48236otn.19.2023.07.10.08.05.09 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 10 Jul 2023 08:05:10 -0700 (PDT) To: libc-alpha@sourceware.org Cc: =?utf-8?q?Cristian_Rodr=C3=ADguez?= Subject: [PATCH 2/6] dlfcn : annotate dls_serpath with __decl_is_flex_array Date: Mon, 10 Jul 2023 15:04:38 +0000 Message-ID: <20230710150454.5490-3-cristian@rodriguez.im> X-Mailer: git-send-email 2.41.0 In-Reply-To: <20230710150454.5490-1-cristian@rodriguez.im> References: <20230710150454.5490-1-cristian@rodriguez.im> MIME-Version: 1.0 X-Spam-Status: No, score=-10.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, GIT_PATCH_0, HEADER_FROM_DIFFERENT_DOMAINS, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libc-alpha@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Libc-alpha mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-Patchwork-Original-From: =?utf-8?q?Cristian_Rodr=C3=ADguez_via_Libc-alpha?= From: =?utf-8?q?Cristian_Rodr=C3=ADguez?= Reply-To: =?utf-8?q?Cristian_Rodr=C3=ADguez?= Errors-To: libc-alpha-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libc-alpha" Signed-off-by: Cristian Rodríguez --- dlfcn/dlfcn.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlfcn/dlfcn.h b/dlfcn/dlfcn.h index c5d192597d..f3a2d087f2 100644 --- a/dlfcn/dlfcn.h +++ b/dlfcn/dlfcn.h @@ -192,7 +192,7 @@ typedef struct not support structs with flexible array members in unions. */ __extension__ union { - Dl_serpath dls_serpath[0]; /* Actually longer, dls_cnt elements. */ + Dl_serpath dls_serpath[0] __decl_is_flex_array; /* Actually longer, dls_cnt elements. */ Dl_serpath __dls_serpath_pad[1]; }; # else