aboutsummaryrefslogtreecommitdiff
path: root/contrib/groff/src/preproc/tbl
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-07-10 17:09:00 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-07-10 17:09:00 +0000
commit5ecb0ad24ff062000e7bae1c5681a97f6d37025c (patch)
tree815804646c42fb89b4a8005be0c1f82d27b95463 /contrib/groff/src/preproc/tbl
parentaf2a8ba6c3e16939879224e370aeb54850188579 (diff)
downloadsrc-5ecb0ad24ff062000e7bae1c5681a97f6d37025c.tar.gz
src-5ecb0ad24ff062000e7bae1c5681a97f6d37025c.zip
Virgin import of FSF groff v1.17.2
Notes
Notes: svn path=/vendor/groff/dist/; revision=79543
Diffstat (limited to 'contrib/groff/src/preproc/tbl')
-rw-r--r--contrib/groff/src/preproc/tbl/main.cc5
-rw-r--r--contrib/groff/src/preproc/tbl/tbl.man8
2 files changed, 9 insertions, 4 deletions
diff --git a/contrib/groff/src/preproc/tbl/main.cc b/contrib/groff/src/preproc/tbl/main.cc
index a08ea0be2570..b1b14a7113e3 100644
--- a/contrib/groff/src/preproc/tbl/main.cc
+++ b/contrib/groff/src/preproc/tbl/main.cc
@@ -25,6 +25,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#define MAX_POINT_SIZE 99
#define MAX_VERTICAL_SPACING 72
+extern "C" const char *Version_string;
+
static int compatible_flag = 0;
class table_input {
@@ -731,7 +733,7 @@ format *process_format(table_input &in, options *opt,
int pre_vline = 0;
int got_format = 0;
int got_period = 0;
- format_type t;
+ format_type t = FORMAT_LEFT;
for (;;) {
if (c == EOF) {
error("end of input while processing format");
@@ -1470,7 +1472,6 @@ int main(int argc, char **argv)
break;
case 'v':
{
- extern const char *Version_string;
printf("GNU tbl (groff) version %s\n", Version_string);
exit(0);
break;
diff --git a/contrib/groff/src/preproc/tbl/tbl.man b/contrib/groff/src/preproc/tbl/tbl.man
index 6016ddf35f8f..42dac2524dfe 100644
--- a/contrib/groff/src/preproc/tbl/tbl.man
+++ b/contrib/groff/src/preproc/tbl/tbl.man
@@ -1,5 +1,5 @@
-.ig \"-*- nroff -*-
-Copyright (C) 1989-1995 Free Software Foundation, Inc.
+.ig
+Copyright (C) 1989-1995, 2001 Free Software Foundation, Inc.
Permission is granted to make and distribute verbatim copies of
this manual provided the copyright notice and this permission notice
@@ -176,3 +176,7 @@ A\e*a;B
.SH "SEE ALSO"
.BR groff (@MAN1EXT@),
.BR @g@troff (@MAN1EXT@)
+.
+.\" Local Variables:
+.\" mode: nroff
+.\" End: