diff options
author | Igor Gnatenko | 2016-09-23 11:24:28 +0200 |
---|---|---|
committer | Karel Zak | 2016-09-23 11:27:35 +0200 |
commit | e0140aa138bd0d84d24870044a458ef3a98d6a3a (patch) | |
tree | 148a18b14c5181dedf106c66f984961811793040 /libsmartcols/src/libsmartcols.h.in | |
parent | Merge branch 'api_const' of https://github.com/ignatenkobrain/util-linux (diff) | |
download | kernel-qcow2-util-linux-e0140aa138bd0d84d24870044a458ef3a98d6a3a.tar.gz kernel-qcow2-util-linux-e0140aa138bd0d84d24870044a458ef3a98d6a3a.tar.xz kernel-qcow2-util-linux-e0140aa138bd0d84d24870044a458ef3a98d6a3a.zip |
libsmartcols: use const qualifier for scols_table_get_termwidth
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'libsmartcols/src/libsmartcols.h.in')
-rw-r--r-- | libsmartcols/src/libsmartcols.h.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsmartcols/src/libsmartcols.h.in b/libsmartcols/src/libsmartcols.h.in index b946d5b16..de2f271cf 100644 --- a/libsmartcols/src/libsmartcols.h.in +++ b/libsmartcols/src/libsmartcols.h.in @@ -257,7 +257,7 @@ enum { extern int scols_table_set_termforce(struct libscols_table *tb, int force); extern int scols_table_get_termforce(const struct libscols_table *tb); extern int scols_table_set_termwidth(struct libscols_table *tb, size_t width); -extern size_t scols_table_get_termwidth(struct libscols_table *tb); +extern size_t scols_table_get_termwidth(const struct libscols_table *tb); /* table_print.c */ |