summaryrefslogtreecommitdiff
path: root/src/libs/libgroff/new.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/libs/libgroff/new.cpp')
-rw-r--r--src/libs/libgroff/new.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libs/libgroff/new.cpp b/src/libs/libgroff/new.cpp
index 739cffa3..93347b4f 100644
--- a/src/libs/libgroff/new.cpp
+++ b/src/libs/libgroff/new.cpp
@@ -1,4 +1,4 @@
-/* Copyright (C) 1989, 1990, 1991, 1992, 2001, 2003
+/* Copyright (C) 1989, 1990, 1991, 1992, 2001, 2003, 2004
Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
@@ -26,7 +26,7 @@ Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
#include "posix.h"
#include "nonposix.h"
-extern const char *program_name;
+extern "C" const char *program_name;
static void ewrite(const char *s)
{