summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1990-10-21 22:13:08 (GMT)
committerGuido van Rossum <guido@python.org>1990-10-21 22:13:08 (GMT)
commit4ab9b4c9adbd5ed42bc163033b3a01572b527ca3 (patch)
tree86a07e433fe1eefbe6482677f69c3b3d00dfd6e3 /Include
parente87203afde79c8f78f78179eef20e4d8cba01fc0 (diff)
downloadcpython-4ab9b4c9adbd5ed42bc163033b3a01572b527ca3.zip
cpython-4ab9b4c9adbd5ed42bc163033b3a01572b527ca3.tar.gz
cpython-4ab9b4c9adbd5ed42bc163033b3a01572b527ca3.tar.bz2
Changed strdup prototype to use const.
Diffstat (limited to 'Include')
-rw-r--r--Include/objimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Include/objimpl.h b/Include/objimpl.h
index 4716517..e6f9929 100644
--- a/Include/objimpl.h
+++ b/Include/objimpl.h
@@ -28,4 +28,4 @@ extern int StopPrint; /* Set when printing is interrupted */
/* Malloc interface */
#include "malloc.h"
-extern char *strdup PROTO((char *));
+extern char *strdup PROTO((const char *));