From 5c94e7624e9d6ec6e4c65bf7445f5aa05e1b4600 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Sat, 19 Oct 2019 05:51:10 +0000 Subject: [PATCH] pivot-table: Make struct pivot_cell public. --- src/output/pivot-table.c | 8 -------- src/output/pivot-table.h | 8 ++++++++ 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/output/pivot-table.c b/src/output/pivot-table.c index 6f49cd2e64..b98bbbf3e9 100644 --- a/src/output/pivot-table.c +++ b/src/output/pivot-table.c @@ -651,14 +651,6 @@ pivot_result_class_change (const char *s_, const struct fmt_spec *format) return rc != NULL; } -/* One piece of data within a pivot table. */ -struct pivot_cell - { - struct hmap_node hmap_node; /* In struct pivot_table's 'cells' hmap. */ - struct pivot_value *value; - unsigned int idx[]; /* One index per table dimension. */ - }; - /* Pivot tables. */ /* Creates and returns a new pivot table with the given TITLE. TITLE should be diff --git a/src/output/pivot-table.h b/src/output/pivot-table.h index d2affc86fa..8006adaf00 100644 --- a/src/output/pivot-table.h +++ b/src/output/pivot-table.h @@ -717,5 +717,13 @@ struct pivot_argument }; void pivot_argument_uninit (struct pivot_argument *); + +/* One piece of data within a pivot table. */ +struct pivot_cell + { + struct hmap_node hmap_node; /* In struct pivot_table's 'cells' hmap. */ + struct pivot_value *value; + unsigned int idx[]; /* One index per table dimension. */ + }; #endif /* output/pivot-table.h */ -- 2.30.2