From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pl1-x634.google.com (mail-pl1-x634.google.com [IPv6:2607:f8b0:4864:20::634]) by sourceware.org (Postfix) with ESMTPS id 7A85A3857726 for ; Wed, 27 Sep 2023 18:21:15 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 7A85A3857726 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=osandov.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=osandov.com Received: by mail-pl1-x634.google.com with SMTP id d9443c01a7336-1bdf4752c3cso85192875ad.2 for ; Wed, 27 Sep 2023 11:21:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=osandov-com.20230601.gappssmtp.com; s=20230601; t=1695838874; x=1696443674; darn=sourceware.org; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:from:to:cc:subject:date:message-id :reply-to; bh=vhB9ZUvQFCvcTSsMeBy4iB0R3YFKNELk63FVnxcQRaE=; b=LGsnc+AV0GxixYOwMs8P+qVkkE8zyTaebCHT1PlJTgCjhMhtpvospby2WOcNIJoDYp z2X8GJXbeu9YlP744rno1/NPX89juXxXX+cT5B4+iCwagWeWObbNY6Sbv21B+U+Ni/rX Ek3hwGha8zAKwBH/t6kW0ordNWbPNh7f/ikspnV/70AWdMD7iXhqsAG7AgKfDp+CgWKN WQ4uFZDqo3ApUwrvQBy9uc9sNCuiPmhO+a3bd8KekcUFL1Vg8N7iM+Byy1zZsHd7e2Qe Y+BVbZ/9oq3q35CpvqAFRWfxyK4EQ9grRfRc8dVa22jbAOuZrkkyiBr1RrRyxif0n7tJ 2j+g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1695838874; x=1696443674; h=content-transfer-encoding:mime-version:references:in-reply-to :message-id:date:subject:to:from:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=vhB9ZUvQFCvcTSsMeBy4iB0R3YFKNELk63FVnxcQRaE=; b=WBZ+naJihcXkht+P7ceaZMmxeR7chOGgejit5BPi+DbgkczLy/kaLpfJnTuhJ43/yn IYBWJSpoZd6qJSSPlgCEoGX0H5Dhvnilr2XovsXWAgG9zS7QRYsxT928OIxxEHaOV5c7 YGjbAtL2jwlQcnhcvg43p5fXQHTMqpz9hcnTzGo/aAiEsa429+GMlNn+5w51fWewVKd8 VdZFZUEOZWUgf6DodNh8tO51O9caryO9szbSp5c+vnD67OB2di+GNJxSod54nWYBpx/F xgoRls4yyxr/og6YV0oV+rN/VLrDbyTtkPt2qyasgDODA4mue2ipDmddo5M9/qwbr15c tNsg== X-Gm-Message-State: AOJu0YzDNsxUc2HsUJqOZvnVqYfSA6ZM1IKqGWQPm0T3PYuGOvHC+ee0 dpBwzZSCduJGPSbu+uIqNhj1G9IhxUCT3aKCeusZVA== X-Google-Smtp-Source: AGHT+IFpdWs14c11ltDoStY6Dw7l9OL3Eil53vJbWzYvU0fTLK8MXNkephokemHID4n44+Yw9hJ+Kw== X-Received: by 2002:a17:902:ecd2:b0:1c4:29dd:2519 with SMTP id a18-20020a170902ecd200b001c429dd2519mr2609570plh.67.1695838874041; Wed, 27 Sep 2023 11:21:14 -0700 (PDT) Received: from telecaster.thefacebook.com ([2620:10d:c090:500::6:efab]) by smtp.gmail.com with ESMTPSA id u16-20020a170902e81000b001bf6ea340a9sm13397842plg.159.2023.09.27.11.21.13 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 27 Sep 2023 11:21:13 -0700 (PDT) From: Omar Sandoval To: elfutils-devel@sourceware.org Subject: [PATCH 01/14] libdw: Make try_split_file static Date: Wed, 27 Sep 2023 11:20:50 -0700 Message-ID: <4b9aa967292ca6145423bf39796bd12fdd392096.1695837512.git.osandov@fb.com> X-Mailer: git-send-email 2.41.0 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-12.4 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,GIT_PATCH_0,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_NONE,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: From: Omar Sandoval It's only used in libdw_find_split_unit.c. Signed-off-by: Omar Sandoval --- libdw/ChangeLog | 4 ++++ libdw/libdw_find_split_unit.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/libdw/ChangeLog b/libdw/ChangeLog index 406310ef..0014aeb1 100644 --- a/libdw/ChangeLog +++ b/libdw/ChangeLog @@ -1,3 +1,7 @@ +2023-09-27 Omar Sandoval + + * libdw_find_split_unit.c (try_split_file): Make static. + 2023-02-22 Mark Wielaard * dwarf_getscopes.c (origin_match): Don't free a->scopes. diff --git a/libdw/libdw_find_split_unit.c b/libdw/libdw_find_split_unit.c index a22e7bc9..533f8072 100644 --- a/libdw/libdw_find_split_unit.c +++ b/libdw/libdw_find_split_unit.c @@ -41,7 +41,7 @@ #include #include -void +static void try_split_file (Dwarf_CU *cu, const char *dwo_path) { int split_fd = open (dwo_path, O_RDONLY); -- 2.41.0