diff options
author | Vito Caputo <vcaputo@pengaru.com> | 2025-08-10 11:10:53 -0700 |
---|---|---|
committer | Vito Caputo <vcaputo@pengaru.com> | 2025-09-11 21:21:47 -0700 |
commit | 8a953dd59d3725fc696de526b3692018b101573d (patch) | |
tree | ab389f5fee0999eb6a9925571fb669f1580da1b1 | |
parent | fc08e8cdcd282df8341d918d4198e3a37f0fd200 (diff) |
charts: trivial constification
-rw-r--r-- | src/charts.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/charts.c b/src/charts.c index 5510121..c4e51e3 100644 --- a/src/charts.c +++ b/src/charts.c @@ -458,9 +458,9 @@ static void print_argv(const vwm_charts_t *charts, const vwm_chart_t *chart, int /* determine if a given process has subsequent siblings in the hierarchy */ -static inline int proc_has_subsequent_siblings(vwm_charts_t *charts, vmon_proc_t *proc) +static inline int proc_has_subsequent_siblings(const vwm_charts_t *charts, const vmon_proc_t *proc) { - struct list_head *sib, *head = &charts->vmon.processes; + const struct list_head *sib, *head = &charts->vmon.processes; if (proc->is_thread) { if (!charts->no_threads) { |