From nobody Wed Jun 22 11:41:11 2022 X-Original-To: dev-commits-src-all@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 2A3C9871E6B; Wed, 22 Jun 2022 11:41:13 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4LShKh3dtJz4sNN; Wed, 22 Jun 2022 11:41:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655898072; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RfcFXOypdharsGCCwgL6TM2hWIjOYynCpgocptsy+Z8=; b=tVveKnLqmYLyrqFP9whxrUPRXvM3VWA5VeiGnrSRkrG1QbvnUSO8EmyLDV0SNmifRoElBy SLwpYqwyNF6/bJeam4NpZS5Ny7JzRbNfkG3Utsdl2EnXENmrQ2f8/LV1VvjGGPwROPqfTk w081EXYkdHXV8x7u/o/2ilPVGpJYjuNWJy9xr4OoV+Aci2eiH8zMI47pExPgNVtsKs96ix EHKed4lfT7ZC6xlYxYEs4/Li2HkmucNQZ86AFBcrY9LxKF5NkOGDN8YYW12iWNYFFkwZXq GStmtcDhzsxlXDGNDItmwq4OtDC6xyq5a4+AfZXtt6CWdp4U0TFsqAJc/cHmoA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 37B22253ED; Wed, 22 Jun 2022 11:41:11 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 25MBfBeB023914; Wed, 22 Jun 2022 11:41:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 25MBfBbV023913; Wed, 22 Jun 2022 11:41:11 GMT (envelope-from git) Date: Wed, 22 Jun 2022 11:41:11 GMT Message-Id: <202206221141.25MBfBbV023913@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Dmitry Chagin Subject: git: ed2f123a217f - main - kdump: For future use made decode_filemode() public List-Id: Commit messages for all branches of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-all@freebsd.org X-BeenThere: dev-commits-src-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dchagin X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: ed2f123a217ff23800e97dde9801b6732310c57c Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1655898072; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=RfcFXOypdharsGCCwgL6TM2hWIjOYynCpgocptsy+Z8=; b=Ovt1I+86pMnhP6Yi8qbXkcXICJ3d3ZAHxO1lZ1M9CrWNIhDQ/yaEhsq5ZtlASTRnbDxQ8A F2K+E7W7jAuUZh/2n/XKHQ/dZMK5yf02KSb48d0HDoQs8pgbnFJjYDMEgMPNRrbdYSZR9V zhMPRNQQV8jEiGprJ/U3rHwEJBNyPYkPIiY1i41wcIvMea8sDl4wDkriRwqrEpAqr0qhX0 TJRHyL8MQJeDPC1kPDaiTkrxIv23B8XOBZfTCw9UfNcI2fiv/k/TWdTudHZZyiwj6/HB4X BErS9JI3pRUS/ZU0J7hIcTapiAkT2paZGRLT3HRpabmx7QqqJlX/3tCMQeuX9Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1655898072; a=rsa-sha256; cv=none; b=a8ih9Ljg+igEDDw9IJ0f2yhVz4piy1ntJvdJh3rXKOiefgp8FbpntlxH/PUhX9TDv3bajw ZpXnsJucLTBHun/Q1xO0LVFRXMwmH2HxvDDbO07rbUuSxvpSSKh4MAuTF+qyjQv4YzBwik sKZQfdXl46gIzyYm1l0rXWWXkAXhN9YnoHXKxqglFmM3iLUZC9Evcmdym+8vSkAvuJJeE1 TugY0PUUTIYbWGiG24buZX1Lcy/R5JopN/ehb93AHAURePnxvxvnbv9zNeQQj0MxYVN9Gi KgLv5495LV225nUFbUUKnmmYn6jwBWYBpJLCH3QxJSzsl+9tcFWV0FmDX93gjQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=ed2f123a217ff23800e97dde9801b6732310c57c commit ed2f123a217ff23800e97dde9801b6732310c57c Author: Dmitry Chagin AuthorDate: 2022-06-22 11:26:50 +0000 Commit: Dmitry Chagin CommitDate: 2022-06-22 11:26:50 +0000 kdump: For future use made decode_filemode() public MFC after: 2 weeks --- usr.bin/kdump/kdump.c | 2 +- usr.bin/kdump/kdump.h | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/usr.bin/kdump/kdump.c b/usr.bin/kdump/kdump.c index 22ac539793fa..4990dea638cf 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -284,7 +284,7 @@ decode_fileflags(fflags_t value) printf("%u", rem); } -static void +void decode_filemode(int value) { bool invalid; diff --git a/usr.bin/kdump/kdump.h b/usr.bin/kdump/kdump.h index 29bdb1dfbbaf..f5b9b85f9779 100644 --- a/usr.bin/kdump/kdump.h +++ b/usr.bin/kdump/kdump.h @@ -65,6 +65,7 @@ extern bool decimal, fancy, resolv; c = ','; \ } while (0) +void decode_filemode(int value); void print_integer_arg(const char *(*decoder)(int), int value); void print_integer_arg_valid(const char *(*decoder)(int), int value); void print_mask_arg(bool (*decoder)(FILE *, int, int *), int value);