summaryrefslogtreecommitdiffstats
path: root/Source/CTest/cmCTestBZR.cxx
diff options
context:
space:
mode:
authorSean McBride <sean@rogue-research.com>2021-10-21 16:40:51 (GMT)
committerSean McBride <sean@rogue-research.com>2021-10-25 16:27:10 (GMT)
commit8d671dd94c44e8b11b4619da8f3985835bcdaa66 (patch)
treebb9a22a3b68036898e60efc27d792dea830a1092 /Source/CTest/cmCTestBZR.cxx
parent1cf14f8c03be76f39e60ccad5049a6f2cd00aa04 (diff)
downloadCMake-8d671dd94c44e8b11b4619da8f3985835bcdaa66.zip
CMake-8d671dd94c44e8b11b4619da8f3985835bcdaa66.tar.gz
CMake-8d671dd94c44e8b11b4619da8f3985835bcdaa66.tar.bz2
Source: fix more -Wmissing-prototypes warnings
Diffstat (limited to 'Source/CTest/cmCTestBZR.cxx')
-rw-r--r--Source/CTest/cmCTestBZR.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/CTest/cmCTestBZR.cxx b/Source/CTest/cmCTestBZR.cxx
index a353435..0fe4ff4 100644
--- a/Source/CTest/cmCTestBZR.cxx
+++ b/Source/CTest/cmCTestBZR.cxx
@@ -20,9 +20,9 @@
#include "cmSystemTools.h"
#include "cmXMLParser.h"
-extern "C" int cmBZRXMLParserUnknownEncodingHandler(void* /*unused*/,
- const XML_Char* name,
- XML_Encoding* info)
+static int cmBZRXMLParserUnknownEncodingHandler(void* /*unused*/,
+ const XML_Char* name,
+ XML_Encoding* info)
{
static const int latin1[] = {
0x0000, 0x0001, 0x0002, 0x0003, 0x0004, 0x0005, 0x0006, 0x0007, 0x0008,