diff options
author | Gao Xiang <gaoxiang25@huawei.com> | 2019-07-16 11:15:27 +0800 |
---|---|---|
committer | Gao Xiang <hsiangkao@aol.com> | 2019-08-03 11:27:42 +0800 |
commit | 1f11cf0463b503e86af3e07a84feafe05c0b10d7 (patch) | |
tree | e1adf7871a3c8fdd28f14531d73ffaed801199fd /include | |
parent | d90641d76b41f2b142439f3b1ee360daecaf0baa (diff) | |
download | erofs-utils-1f11cf0463b503e86af3e07a84feafe05c0b10d7.tar.gz |
erofs-utils: introduce extented options setting
Introduce option "-E" for extented options.
Legacy images (linux-4.19~5.2) can be generated by "-E legacy-compress".
Signed-off-by: Gao Xiang <gaoxiang25@huawei.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/erofs/defs.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/erofs/defs.h b/include/erofs/defs.h index 111b703..0d9910c 100644 --- a/include/erofs/defs.h +++ b/include/erofs/defs.h @@ -155,5 +155,9 @@ typedef int64_t s64; #define DBG_BUGON(condition) BUG_ON(condition) #endif +#ifndef __maybe_unused +#define __maybe_unused __attribute__((__unused__)) +#endif + #endif |