Make it return a _const_ char*.
diff --git a/Python/getcompiler.c b/Python/getcompiler.c
index 57240eb..9332990 100644
--- a/Python/getcompiler.c
+++ b/Python/getcompiler.c
@@ -51,7 +51,7 @@
 
 #endif /* !COMPILER */
 
-char *
+const char *
 Py_GetCompiler()
 {
 	return COMPILER;
diff --git a/Python/getplatform.c b/Python/getplatform.c
index f9b4dc3..aea2ef5 100644
--- a/Python/getplatform.c
+++ b/Python/getplatform.c
@@ -35,7 +35,7 @@
 #define PLATFORM "unknown"
 #endif
 
-char *
+const char *
 Py_GetPlatform()
 {
 	return PLATFORM;
diff --git a/Python/getversion.c b/Python/getversion.c
index c697f43..4553357 100644
--- a/Python/getversion.c
+++ b/Python/getversion.c
@@ -35,9 +35,6 @@
 
 #include "patchlevel.h"
 
-extern const char *Py_GetCompiler();
-extern const char *Py_GetBuildInfo();
-
 const char *
 Py_GetVersion()
 {