summaryrefslogtreecommitdiffstats
path: root/contrib/groff/src/devices/grotty/tty.cc
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2001-07-10 17:09:00 +0000
committerru <ru@FreeBSD.org>2001-07-10 17:09:00 +0000
commit8d6dea3a5542a987c08a218c28776d3751d6878d (patch)
tree815804646c42fb89b4a8005be0c1f82d27b95463 /contrib/groff/src/devices/grotty/tty.cc
parent9ea23f4150d8e9a0b84050876c26239addf73c8c (diff)
downloadFreeBSD-src-8d6dea3a5542a987c08a218c28776d3751d6878d.zip
FreeBSD-src-8d6dea3a5542a987c08a218c28776d3751d6878d.tar.gz
Virgin import of FSF groff v1.17.2
Diffstat (limited to 'contrib/groff/src/devices/grotty/tty.cc')
-rw-r--r--contrib/groff/src/devices/grotty/tty.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/groff/src/devices/grotty/tty.cc b/contrib/groff/src/devices/grotty/tty.cc
index a8ee065..d13adbf 100644
--- a/contrib/groff/src/devices/grotty/tty.cc
+++ b/contrib/groff/src/devices/grotty/tty.cc
@@ -21,6 +21,8 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "driver.h"
#include "device.h"
+extern "C" const char *Version_string;
+
#ifndef SHRT_MIN
#define SHRT_MIN (-32768)
#endif
@@ -442,7 +444,6 @@ int main(int argc, char **argv)
switch(c) {
case 'v':
{
- extern const char *Version_string;
printf("GNU grotty (groff) version %s\n", Version_string);
exit(0);
break;
OpenPOWER on IntegriCloud