From: Guido van Rossum Date: Sun, 21 Oct 1990 22:13:08 +0000 (+0000) Subject: Changed strdup prototype to use const. X-Git-Tag: v0.9.8~1157 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ab9b4c9adbd5ed42bc163033b3a01572b527ca3;p=thirdparty%2FPython%2Fcpython.git Changed strdup prototype to use const. --- diff --git a/Include/objimpl.h b/Include/objimpl.h index 4716517bb933..e6f9929f3d80 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 *));