Make it return a _const_ char*.

This commit is contained in:
Guido van Rossum 1997-07-19 19:48:41 +00:00
parent f6ca6aa869
commit 8fb26ede51
3 changed files with 2 additions and 5 deletions

View File

@ -51,7 +51,7 @@ PERFORMANCE OF THIS SOFTWARE.
#endif /* !COMPILER */
char *
const char *
Py_GetCompiler()
{
return COMPILER;

View File

@ -35,7 +35,7 @@ PERFORMANCE OF THIS SOFTWARE.
#define PLATFORM "unknown"
#endif
char *
const char *
Py_GetPlatform()
{
return PLATFORM;

View 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()
{