Commit a81a1d53 authored by Dridi Boukelmoune's avatar Dridi Boukelmoune

vte: Flexelinting

parent 928e2e8d
......@@ -44,5 +44,5 @@ int VTE_putc(struct vte *, char);
int VTE_cat(struct vte *, const char *);
int VTE_printf(struct vte *, const char *, ...) v_printflike_(2, 3);
int VTE_finish(struct vte *);
int VTE_format(struct vte *, VTE_format_f *func, void *priv);
int VTE_format(const struct vte *, VTE_format_f *func, void *priv);
void VTE_destroy(struct vte **);
......@@ -227,7 +227,7 @@ VTE_finish(struct vte *vte)
}
sep = (vte->o_sz - vte->l_maxsz) / vte->f_cnt;
vte->o_sep = vlimit(sep, MINSEP, MAXSEP);
vte->o_sep = vlimit_t(int, sep, MINSEP, MAXSEP);
return (0);
}
......@@ -238,7 +238,7 @@ VTE_finish(struct vte *vte)
} while (0)
int
VTE_format(struct vte *vte, VTE_format_f *func, void *priv)
VTE_format(const struct vte *vte, VTE_format_f *func, void *priv)
{
int fno, fsz, nsp;
const char *p, *q;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment