added const keyword to strdup argument

This commit is contained in:
Ed Beroset 2002-05-17 03:11:15 +00:00
parent ab9a17b684
commit 64af0aa6de

View File

@ -83,9 +83,9 @@ void nasm_free (void *q)
}
#ifdef LOGALLOC
char *nasm_strdup_log (char *file, int line, char *s)
char *nasm_strdup_log (char *file, int line, const char *s)
#else
char *nasm_strdup (char *s)
char *nasm_strdup (const char *s)
#endif
{
char *p;