projects
/
platform
/
upstream
/
btrfs-progs.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
btrfs-progs: update CHANGES for v4.16.1
[platform/upstream/btrfs-progs.git]
/
string-table.h
diff --git
a/string-table.h
b/string-table.h
index
83c4425
..
516ea97
100644
(file)
--- a/
string-table.h
+++ b/
string-table.h
@@
-14,22
+14,20
@@
* Boston, MA 021110-1307, USA.
*/
* Boston, MA 021110-1307, USA.
*/
-#ifndef
STRING_TABLE_H
-#define
STRING_TABLE_H
+#ifndef
__STRING_TABLE_H__
+#define
__STRING_TABLE_H__
struct string_table {
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,
struct string_table *table_create(int columns, int rows);
char *table_printf(struct string_table *tab, int column, int row,
- char *fmt, ...);
+ c
onst c
har *fmt, ...);
char *table_vprintf(struct string_table *tab, int column, int row,
char *table_vprintf(struct string_table *tab, int column, int row,
- char *fmt, va_list ap);
+ c
onst c
har *fmt, va_list ap);
void table_dump(struct string_table *tab);
void table_free(struct string_table *);
void table_dump(struct string_table *tab);
void table_free(struct string_table *);