diff options
author | H. Peter Anvin <hpa@zytor.com> | 2009-02-21 17:54:31 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2009-02-21 17:54:31 -0800 |
commit | 00bf04f74249aa20d162c44c20ffdb16e41dd56e (patch) | |
tree | 25d25e44af3781a3c16eedade310c70f6a850880 /nasmlib.c | |
parent | 577f57614a159e3c5ab10bf03d345846796de932 (diff) | |
download | nasm-00bf04f74249aa20d162c44c20ffdb16e41dd56e.tar.gz nasm-00bf04f74249aa20d162c44c20ffdb16e41dd56e.tar.bz2 nasm-00bf04f74249aa20d162c44c20ffdb16e41dd56e.zip |
nasmlib: make nasm_strcat() take const arguments
None of the strings passed to nasm_strcat() are modified, to
make them const.
Diffstat (limited to 'nasmlib.c')
-rw-r--r-- | nasmlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -597,7 +597,7 @@ int src_get(int32_t *xline, char **xname) return 0; } -char *nasm_strcat(char *one, char *two) +char *nasm_strcat(const char *one, const char *two) { char *rslt; int l1 = strlen(one); |