mirror of https://github.com/python/cpython.git
Changed strdup prototype to use const.
This commit is contained in:
parent
e87203afde
commit
4ab9b4c9ad
|
@ -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 *));
|
||||
|
|
Loading…
Reference in New Issue