diff options
-rw-r--r-- | Python/getcompiler.c | 2 | ||||
-rw-r--r-- | Python/getplatform.c | 2 | ||||
-rw-r--r-- | Python/getversion.c | 3 |
3 files changed, 2 insertions, 5 deletions
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 @@ PERFORMANCE OF THIS SOFTWARE. #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 @@ PERFORMANCE OF THIS SOFTWARE. #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 @@ PERFORMANCE OF THIS SOFTWARE. #include "patchlevel.h" -extern const char *Py_GetCompiler(); -extern const char *Py_GetBuildInfo(); - const char * Py_GetVersion() { |