summaryrefslogtreecommitdiff
path: root/nasmlib.c
diff options
context:
space:
mode:
authorEd Beroset <beroset@mindspring.com>2002-05-17 03:11:15 +0000
committerEd Beroset <beroset@mindspring.com>2002-05-17 03:11:15 +0000
commit64af0aa6de5f5e7643a391d3d6d544172ead3148 (patch)
tree73687aab4e931261d8b90f3c2ea518ad62f69ecb /nasmlib.c
parentab9a17b684fc71bffdd4d207a2bddf9fe0888e60 (diff)
downloadnasm-64af0aa6de5f5e7643a391d3d6d544172ead3148.tar.gz
nasm-64af0aa6de5f5e7643a391d3d6d544172ead3148.tar.bz2
nasm-64af0aa6de5f5e7643a391d3d6d544172ead3148.zip
added const keyword to strdup argument
Diffstat (limited to 'nasmlib.c')
-rw-r--r--nasmlib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nasmlib.c b/nasmlib.c
index d96a492..235c469 100644
--- a/nasmlib.c
+++ b/nasmlib.c
@@ -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;