From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 5FCAD138334 for ; Thu, 7 Jun 2018 04:44:15 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B3962E0BF6; Thu, 7 Jun 2018 04:44:13 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 4B4CAE0BF6 for ; Thu, 7 Jun 2018 04:44:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 12878335C8C for ; Thu, 7 Jun 2018 04:44:12 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 9A0002C5 for ; Thu, 7 Jun 2018 04:44:10 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1528346490.df28fc345a31b9c329b95b1cb4666c49ad37d8d2.vapier@gentoo> Subject: [gentoo-commits] proj/pax-utils:master commit in: / X-VCS-Repository: proj/pax-utils X-VCS-Files: scanelf.c X-VCS-Directories: / X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: df28fc345a31b9c329b95b1cb4666c49ad37d8d2 X-VCS-Branch: master Date: Thu, 7 Jun 2018 04:44:10 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 80e8f377-5e0b-426e-be7b-d458235deb73 X-Archives-Hash: d5056ae0bae1506cd967241f98a8db31 commit: df28fc345a31b9c329b95b1cb4666c49ad37d8d2 Author: Mike Frysinger gentoo org> AuthorDate: Fri Mar 3 20:09:32 2017 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Jun 7 04:41:30 2018 +0000 URL: https://gitweb.gentoo.org/proj/pax-utils.git/commit/?id=df28fc34 scanelf: constify rpath_security_checks scanelf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scanelf.c b/scanelf.c index 530edfb..16f712f 100644 --- a/scanelf.c +++ b/scanelf.c @@ -761,7 +761,7 @@ static char *scanelf_file_textrels(elfobj *elf, char *found_textrels, char *foun return NULL; } -static void rpath_security_checks(elfobj *elf, char *item, const char *dt_type) +static void rpath_security_checks(elfobj *elf, const char *item, const char *dt_type) { struct stat st; switch (*item) {