summaryrefslogtreecommitdiff
path: root/Python/getplatform.c
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1997-07-19 19:48:41 +0000
committerGuido van Rossum <guido@python.org>1997-07-19 19:48:41 +0000
commit25b8cb22498ea05b68cdce1b6e561af39cde6217 (patch)
tree6a11871ce283da4e63cc69cf2c79625bc65b49b6 /Python/getplatform.c
parentf09f8007e3790754952e140765ee6b257ea13f9a (diff)
downloadcpython-25b8cb22498ea05b68cdce1b6e561af39cde6217.tar.gz
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 f9b4dc3538..aea2ef5c3e 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;