summaryrefslogtreecommitdiff
path: root/src/roff/troff/input.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/roff/troff/input.cc')
-rw-r--r--src/roff/troff/input.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/roff/troff/input.cc b/src/roff/troff/input.cc
index 26de4dd0..4905305a 100644
--- a/src/roff/troff/input.cc
+++ b/src/roff/troff/input.cc
@@ -73,6 +73,8 @@ extern "C" {
// initial size of buffer for reading names; expanded as necessary
#define ABUF_SIZE 16
+extern "C" const char *Version_string;
+
#ifdef COLUMN
void init_column_requests();
#endif /* COLUMN */
@@ -6097,7 +6099,6 @@ int main(int argc, char **argv)
switch(c) {
case 'v':
{
- extern const char *Version_string;
printf("GNU troff (groff) version %s\n", Version_string);
exit(0);
break;