]> granicus.if.org Git - python/commitdiff
Make it return a _const_ char*.
authorGuido van Rossum <guido@python.org>
Sat, 19 Jul 1997 19:48:41 +0000 (19:48 +0000)
committerGuido van Rossum <guido@python.org>
Sat, 19 Jul 1997 19:48:41 +0000 (19:48 +0000)
Python/getcompiler.c
Python/getplatform.c
Python/getversion.c

index 57240eb5921b5f680ef5beb0d8a0d29e3967e3d8..93329905a00820721ce134069bd0578c008926e7 100644 (file)
@@ -51,7 +51,7 @@ PERFORMANCE OF THIS SOFTWARE.
 
 #endif /* !COMPILER */
 
-char *
+const char *
 Py_GetCompiler()
 {
        return COMPILER;
index f9b4dc35382c9b06e47e76990f9738bb0cf9fdff..aea2ef5c3e36a2c73c61bd04558f423d9bfe8da1 100644 (file)
@@ -35,7 +35,7 @@ PERFORMANCE OF THIS SOFTWARE.
 #define PLATFORM "unknown"
 #endif
 
-char *
+const char *
 Py_GetPlatform()
 {
        return PLATFORM;
index c697f43086b0724ed8a42753f959c21dc1167aca..4553357c18eea52d308a41f05f1c2ab071d33a76 100644 (file)
@@ -35,9 +35,6 @@ PERFORMANCE OF THIS SOFTWARE.
 
 #include "patchlevel.h"
 
-extern const char *Py_GetCompiler();
-extern const char *Py_GetBuildInfo();
-
 const char *
 Py_GetVersion()
 {