X-Git-Url: http://review.tizen.org/git/?a=blobdiff_plain;ds=sidebyside;f=string-table.h;h=516ea97a9406f0fa91678210664b5cca58046aca;hb=c76b05fba284c68c6cb7b710dbb95a42089e8538;hp=657aae4b1fe341a684023c1a7d223292e700ba76;hpb=07ce7005fc81289eb4c7dde7d601be08c977b92c;p=platform%2Fupstream%2Fbtrfs-progs.git diff --git a/string-table.h b/string-table.h index 657aae4..516ea97 100644 --- a/string-table.h +++ b/string-table.h @@ -18,18 +18,16 @@ #define __STRING_TABLE_H__ struct string_table { - - int ncols, nrows; - char *cells[]; - + int ncols; + int nrows; + char *cells[]; }; - struct string_table *table_create(int columns, int rows); char *table_printf(struct string_table *tab, int column, int row, - char *fmt, ...); + const char *fmt, ...); char *table_vprintf(struct string_table *tab, int column, int row, - char *fmt, va_list ap); + const char *fmt, va_list ap); void table_dump(struct string_table *tab); void table_free(struct string_table *);