From 4d58a563b1d21eb1aaa8b6ab28003cc0d7fd6c10 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Tue, 9 Jun 2009 19:48:50 -0700 Subject: [PATCH] output: Get rid of unused members of struct som_table_class. I planned to use these at one point, but no longer do. --- src/output/manager.h | 8 +------- src/output/table.c | 6 ------ 2 files changed, 1 insertion(+), 13 deletions(-) diff --git a/src/output/manager.h b/src/output/manager.h index 58d0c12d..7ebe541b 100644 --- a/src/output/manager.h +++ b/src/output/manager.h @@ -1,5 +1,5 @@ /* PSPP - a program for statistical analysis. - Copyright (C) 1997-9, 2000 Free Software Foundation, Inc. + Copyright (C) 1997-9, 2000, 2009 Free Software Foundation, Inc. This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -82,20 +82,14 @@ struct som_table_class /* Query columns and rows. */ void (*count) (int *n_columns, int *n_rows); void (*area) (int *horiz, int *vert); - void (*width) (int *columns); - void (*height) (int *rows); void (*columns) (int *style); - int (*breakable) (int row); /* ? */ void (*headers) (int *l, int *r, int *t, int *b); - void (*join) (int *(column[2]), int *(row[2])); /* ? */ void (*cumulate) (int cumtype, int start, int *end, int max, int *actual); void (*flags) (unsigned *); bool (*fits_width) (int width); bool (*fits_length) (int length); /* Set columns and rows. */ - void (*set_width) (int column, int width); /* ? */ - void (*set_height) (int row, int height); /* ? */ void (*set_headers) (int l, int r, int t, int b); /* Rendering. */ diff --git a/src/output/table.c b/src/output/table.c index 9e925a44..434db0bb 100644 --- a/src/output/table.c +++ b/src/output/table.c @@ -1287,19 +1287,13 @@ const struct som_table_class tab_table_class = tabi_count, tabi_area, - NULL, - NULL, tabi_columns, - NULL, tabi_headers, - NULL, tabi_cumulate, tabi_flags, tabi_fits_width, tabi_fits_length, - NULL, - NULL, tabi_set_headers, tabi_title, -- 2.30.2