]> git.ipfire.org Git - thirdparty/util-linux.git/commit
libsmartcols: make __attributes__ more portable
authorKarel Zak <kzak@redhat.com>
Tue, 5 Nov 2024 10:10:31 +0000 (11:10 +0100)
committerKarel Zak <kzak@redhat.com>
Tue, 5 Nov 2024 10:10:31 +0000 (11:10 +0100)
commit4508f7a34b648f42f74f0b482710c8b0e80119dc
tree71d9066238d3d4e79b86d52c031fcd52586efe40
parent34a6ce0b360ec382f21ecd64492168b4abed4613
libsmartcols: make __attributes__ more portable

Let's use what is already used for libmount. The header file is a public
header and does not require support for the __attribute__() compiler
feature. We need an additional #ifdef to ensure portability.

Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/libsmartcols.h.in