]> www.infradead.org Git - mtd-utils.git/commit
ubifs-utils: Add compiler attributes implementations
authorZhihao Cheng <chengzhihao1@huawei.com>
Mon, 11 Nov 2024 08:36:41 +0000 (16:36 +0800)
committerDavid Oberhollenzer <david.oberhollenzer@sigma-star.at>
Mon, 11 Nov 2024 09:32:45 +0000 (10:32 +0100)
commit50f9259befe1b94ee991ae390b7c84b21f4dbb88
treefe5f75bc73ca5c241a158d8e4c9ec9519652e382
parent898499314c7073bbf6851db6542858921aeb6580
ubifs-utils: Add compiler attributes implementations

Add compiler attributes implementations, such as __packed, __unused,
__const, etc., which could be used in linux kernel libs. Besides, change
some existing attributes into linux kernel style.

This is a preparation for replacing implementation of UBIFS utils with
linux kernel libs.

Signed-off-by: Zhihao Cheng <chengzhihao1@huawei.com>
Signed-off-by: David Oberhollenzer <david.oberhollenzer@sigma-star.at>
ubifs-utils/Makemodule.am
ubifs-utils/common/compiler_attributes.h [new file with mode: 0644]
ubifs-utils/common/fscrypt.h
ubifs-utils/common/sign.c