Commit 25b8cb22 authored by Guido van Rossum's avatar Guido van Rossum

Make it return a _const_ char*.

parent f09f8007
......@@ -51,7 +51,7 @@ PERFORMANCE OF THIS SOFTWARE.
#endif /* !COMPILER */
char *
const char *
Py_GetCompiler()
{
return COMPILER;
......
......@@ -35,7 +35,7 @@ PERFORMANCE OF THIS SOFTWARE.
#define PLATFORM "unknown"
#endif
char *
const char *
Py_GetPlatform()
{
return PLATFORM;
......
......@@ -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()
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment