summaryrefslogtreecommitdiff
path: root/src/devices/grolbp/lbp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/devices/grolbp/lbp.cc')
-rw-r--r--src/devices/grolbp/lbp.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/devices/grolbp/lbp.cc b/src/devices/grolbp/lbp.cc
index c26d3bc1..ec8c7b1f 100644
--- a/src/devices/grolbp/lbp.cc
+++ b/src/devices/grolbp/lbp.cc
@@ -33,6 +33,8 @@ TODO
#include "nonposix.h"
+extern "C" const char *Version_string;
+
static short int papersize = -1, // papersize
orientation = -1 , // orientation
paperlength = 0, // Custom Paper size
@@ -715,7 +717,6 @@ int main(int argc, char **argv)
case 'l' : orientation = 1;
break;
case 'v' : {
- extern const char *Version_string;
printf("GNU grolbp (groff) version %s\n",
Version_string);
exit(0);