From 4ab9b4c9adbd5ed42bc163033b3a01572b527ca3 Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Sun, 21 Oct 1990 22:13:08 +0000 Subject: [PATCH] Changed strdup prototype to use const. --- Include/objimpl.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Include/objimpl.h b/Include/objimpl.h index 4716517bb93..e6f9929f3d8 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 *));