X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;ds=sidebyside;f=src%2Foutput%2Ftable.c;h=be2c2136f945f0262c0295527856855147c6e613;hb=8eac4df36306cd357bba29ffbfaddc537fc0be47;hp=a7dc4817f0f946a46fc73ce0f2713490810bbc5b;hpb=5beffdda43634370653661d5a0f5e3c75aa28747;p=pspp-builds.git diff --git a/src/output/table.c b/src/output/table.c index a7dc4817..be2c2136 100644 --- a/src/output/table.c +++ b/src/output/table.c @@ -38,7 +38,7 @@ #include "gettext.h" #define _(msgid) gettext (msgid) -struct som_table_class tab_table_class; +const struct som_table_class tab_table_class; static char *command_name; /* Returns the font to use for a cell with the given OPTIONS. */ @@ -838,7 +838,7 @@ tab_next_row (struct tab_table *t) static struct tab_table *t; static struct outp_driver *d; -int tab_hit; +static int tab_hit; /* Set the current table to TABLE. */ static void @@ -1220,7 +1220,7 @@ tabi_render (int c0, int r0, int c1, int r1) y = render_rows (y, c0, c1, (t->nr - t->b) * 2, t->nr * 2 + 1); } -struct som_table_class tab_table_class = +const struct som_table_class tab_table_class = { tabi_table, tabi_driver,