]> git.ipfire.org Git - thirdparty/util-linux.git/commit
lsfd: consolidate add_column()
authorKarel Zak <kzak@redhat.com>
Mon, 2 Dec 2024 11:50:29 +0000 (12:50 +0100)
committerMasatake YAMATO <yamato@redhat.com>
Fri, 13 Dec 2024 15:51:27 +0000 (00:51 +0900)
commit128334e5b5188151fb16ab7f52ca9884580a668d
tree069c2a12da867698177bd3f1c85c95b53b04b748
parent9a5bd4afe240dd8c7c687e7d7f437e61ba3a460e
lsfd: consolidate add_column()

* use only column IDs in add_column() callers
* don't work with "struct colinfo" in callers
* rename add_column_by_id() to add_hidden_column() as it's very
  special function used only by filters

Signed-off-by: Karel Zak <kzak@redhat.com>
lsfd-cmd/lsfd.c