diff options
author | Igor Gnatenko | 2016-09-21 08:30:48 +0200 |
---|---|---|
committer | Igor Gnatenko | 2016-09-21 08:36:00 +0200 |
commit | f7a9ea28eff5c71b6fd07b49b16d14bdecaeb4f0 (patch) | |
tree | 888103c32f6ea3749b1cb2e74f204e4ab02b13e5 /libsmartcols/src/smartcolsP.h | |
parent | debug: use const void * for ul_debugobj() (diff) | |
download | kernel-qcow2-util-linux-f7a9ea28eff5c71b6fd07b49b16d14bdecaeb4f0.tar.gz kernel-qcow2-util-linux-f7a9ea28eff5c71b6fd07b49b16d14bdecaeb4f0.tar.xz kernel-qcow2-util-linux-f7a9ea28eff5c71b6fd07b49b16d14bdecaeb4f0.zip |
libsmartcols: use const qualifier where it's possible
Closes: https://github.com/karelzak/util-linux/issues/355
Signed-off-by: Igor Gnatenko <i.gnatenko.brain@gmail.com>
Diffstat (limited to 'libsmartcols/src/smartcolsP.h')
-rw-r--r-- | libsmartcols/src/smartcolsP.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libsmartcols/src/smartcolsP.h b/libsmartcols/src/smartcolsP.h index e4aeec46a..ca6ea1be7 100644 --- a/libsmartcols/src/smartcolsP.h +++ b/libsmartcols/src/smartcolsP.h @@ -184,7 +184,7 @@ struct libscols_table { } while(0) -static inline int scols_iter_is_last(struct libscols_iter *itr) +static inline int scols_iter_is_last(const struct libscols_iter *itr) { if (!itr || !itr->head || !itr->p) return 0; |