]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
libsmartcols: clean up flags
authorKarel Zak <kzak@redhat.com>
Wed, 2 Apr 2014 11:56:00 +0000 (13:56 +0200)
committerKarel Zak <kzak@redhat.com>
Thu, 3 Apr 2014 10:29:20 +0000 (12:29 +0200)
Signed-off-by: Karel Zak <kzak@redhat.com>
libsmartcols/src/libsmartcols.h.in

index 2da1c14d78dc50359664ff02bc208f4304fb188f..b77b11e37692c9b6c06c2097fa787beb88462f3b 100644 (file)
@@ -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);