summaryrefslogtreecommitdiff
path: root/src/include/error.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/error.h')
-rw-r--r--src/include/error.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/error.h b/src/include/error.h
index e227682b..6910e550 100644
--- a/src/include/error.h
+++ b/src/include/error.h
@@ -1,5 +1,6 @@
// -*- C++ -*-
-/* Copyright (C) 1989, 1990, 1991, 1992, 2003 Free Software Foundation, Inc.
+/* Copyright (C) 1989, 1990, 1991, 1992, 2003, 2004
+ Free Software Foundation, Inc.
Written by James Clark (jjc@jclark.com)
This file is part of groff.
@@ -52,7 +53,7 @@ extern void warning(const char *,
const errarg &arg3 = empty_errarg);
-extern const char *program_name;
+extern "C" const char *program_name;
extern int current_lineno;
extern const char *current_filename;
extern const char *current_source_filename;