diff options
author | Karel Zak | 2019-05-02 13:44:12 +0200 |
---|---|---|
committer | Karel Zak | 2019-05-02 13:44:12 +0200 |
commit | 4525b6cf1632b6912621761a7de5c97bde1b5da3 (patch) | |
tree | a31502ef565cd0c3533ba2841b51e4f958918c3e /libsmartcols/src/smartcolsP.h | |
parent | hardlink: fix compiler warnings [-Wsign-compare -Wmaybe-uninitialized]] (diff) | |
download | kernel-qcow2-util-linux-4525b6cf1632b6912621761a7de5c97bde1b5da3.tar.gz kernel-qcow2-util-linux-4525b6cf1632b6912621761a7de5c97bde1b5da3.tar.xz kernel-qcow2-util-linux-4525b6cf1632b6912621761a7de5c97bde1b5da3.zip |
libsmartcols: (groups) remove hardcoded const numbers
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'libsmartcols/src/smartcolsP.h')
-rw-r--r-- | libsmartcols/src/smartcolsP.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/libsmartcols/src/smartcolsP.h b/libsmartcols/src/smartcolsP.h index 5af5b096e..bbc8a98a1 100644 --- a/libsmartcols/src/smartcolsP.h +++ b/libsmartcols/src/smartcolsP.h @@ -143,6 +143,11 @@ enum { SCOLS_GSTATE_CONT_CHILDREN }; +/* + * Every group needs at least 3 columns + */ +#define SCOLS_GRPSET_CHUNKSIZ 3 + struct libscols_group { int refcount; |