From: Karel Zak Date: Wed, 2 Apr 2014 11:56:00 +0000 (+0200) Subject: libsmartcols: clean up flags X-Git-Tag: v2.25-rc1~348 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=dc36586085d05bd60c6fd3dc2279b842294a5d13;p=thirdparty%2Futil-linux.git libsmartcols: clean up flags Signed-off-by: Karel Zak --- diff --git a/libsmartcols/src/libsmartcols.h.in b/libsmartcols/src/libsmartcols.h.in index 2da1c14d78..b77b11e376 100644 --- a/libsmartcols/src/libsmartcols.h.in +++ b/libsmartcols/src/libsmartcols.h.in @@ -73,11 +73,11 @@ enum { * Column flags */ enum { - SCOLS_FL_TRUNC = (1 << 15), /* truncate fields data if necessary */ - SCOLS_FL_TREE = (1 << 16), /* use tree "ascii art" */ - SCOLS_FL_RIGHT = (1 << 17), /* align to the right */ - SCOLS_FL_STRICTWIDTH = (1 << 18), /* don't reduce width if column is empty */ - SCOLS_FL_NOEXTREMES = (1 << 19), /* ignore extreme fields when count column width*/ + SCOLS_FL_TRUNC = (1 << 0), /* truncate fields data if necessary */ + SCOLS_FL_TREE = (1 << 1), /* use tree "ascii art" */ + SCOLS_FL_RIGHT = (1 << 2), /* align to the right */ + SCOLS_FL_STRICTWIDTH = (1 << 3), /* don't reduce width if column is empty */ + SCOLS_FL_NOEXTREMES = (1 << 4), /* ignore extreme fields when count column width*/ }; extern struct libscols_iter *scols_new_iter(int direction);