diff options
author | Karel Zak | 2011-07-27 16:21:11 +0200 |
---|---|---|
committer | Karel Zak | 2011-07-27 16:21:11 +0200 |
commit | bdc3ed6678f229819bd6ee583745e63c1714fe5d (patch) | |
tree | 3c678cca8fecdd83c6b7ee48f253f6ebfaeceadf /include/tt.h | |
parent | build-sys: fix gtk-doc distclean (diff) | |
download | kernel-qcow2-util-linux-bdc3ed6678f229819bd6ee583745e63c1714fe5d.tar.gz kernel-qcow2-util-linux-bdc3ed6678f229819bd6ee583745e63c1714fe5d.tar.xz kernel-qcow2-util-linux-bdc3ed6678f229819bd6ee583745e63c1714fe5d.zip |
include; [tt.c] check for array size in columns parser
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'include/tt.h')
-rw-r--r-- | include/tt.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/tt.h b/include/tt.h index c3dcb2b36..5f6e8172b 100644 --- a/include/tt.h +++ b/include/tt.h @@ -83,7 +83,7 @@ extern struct tt_line *tt_add_line(struct tt *tb, struct tt_line *parent); extern int tt_line_set_data(struct tt_line *ln, int colnum, const char *data); extern int tt_line_set_userdata(struct tt_line *ln, void *data); -extern int tt_parse_columns_list(const char *list, int cols[], int *ncols, +extern int tt_parse_columns_list(const char *list, int ary[], size_t arrsz, int (name2id)(const char *, size_t)); #endif /* UTIL_LINUX_TT_H */ |