git: b330e6384657 - stable/13 - kdump: For future use made decode_filemode() public
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 06 Jul 2022 11:04:12 UTC
The branch stable/13 has been updated by dchagin: URL: https://cgit.FreeBSD.org/src/commit/?id=b330e6384657cba2aee4e0da991ef0a8017dcd97 commit b330e6384657cba2aee4e0da991ef0a8017dcd97 Author: Dmitry Chagin <dchagin@FreeBSD.org> AuthorDate: 2022-06-22 11:26:50 +0000 Commit: Dmitry Chagin <dchagin@FreeBSD.org> CommitDate: 2022-07-06 11:02:15 +0000 kdump: For future use made decode_filemode() public MFC after: 2 weeks (cherry picked from commit ed2f123a217ff23800e97dde9801b6732310c57c) --- 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 30747909d002..1fab27d2d11e 100644 --- a/usr.bin/kdump/kdump.c +++ b/usr.bin/kdump/kdump.c @@ -284,7 +284,7 @@ decode_fileflags(fflags_t value) printf("<invalid>%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);