summaryrefslogtreecommitdiffstats
path: root/Python/getplatform.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-19 19:48:41 (GMT)
committerGuido van Rossum <guido@python.org>1997-07-19 19:48:41 (GMT)
commit8fb26ede517491ccb3f1076ee592e8d255549688 (patch)
tree31be57e0c411c6e03ca4ef1c197c2967ca0518b9 /Python/getplatform.c
parentf6ca6aa8696ff232d2c755fb97cf9264c753d036 (diff)
downloadcpython-8fb26ede517491ccb3f1076ee592e8d255549688.zip
cpython-8fb26ede517491ccb3f1076ee592e8d255549688.tar.gz
cpython-8fb26ede517491ccb3f1076ee592e8d255549688.tar.bz2
Make it return a _const_ char*.
Diffstat (limited to 'Python/getplatform.c')
-rw-r--r--Python/getplatform.c2
1 files changed, 1 insertions, 1 deletions
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;