kdump: For future use made decode_filemode() public

MFC after:		2 weeks
This commit is contained in:
Dmitry Chagin 2022-06-22 14:26:50 +03:00
parent fde775bc53
commit ed2f123a21
2 changed files with 2 additions and 1 deletions

View File

@ -284,7 +284,7 @@ decode_fileflags(fflags_t value)
printf("<invalid>%u", rem);
}
static void
void
decode_filemode(int value)
{
bool invalid;

View File

@ -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);