summaryrefslogtreecommitdiff
path: root/nasmlib.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2009-02-21 17:54:31 -0800
committerH. Peter Anvin <hpa@zytor.com>2009-02-21 17:54:31 -0800
commit00bf04f74249aa20d162c44c20ffdb16e41dd56e (patch)
tree25d25e44af3781a3c16eedade310c70f6a850880 /nasmlib.h
parent577f57614a159e3c5ab10bf03d345846796de932 (diff)
downloadnasm-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.h')
-rw-r--r--nasmlib.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/nasmlib.h b/nasmlib.h
index cb802b1..d901520 100644
--- a/nasmlib.h
+++ b/nasmlib.h
@@ -321,7 +321,7 @@ int32_t src_get_linnum(void);
*/
int src_get(int32_t *xline, char **xname);
-char *nasm_strcat(char *one, char *two);
+char *nasm_strcat(const char *one, const char *two);
void null_debug_routine(const char *directive, const char *params);
extern struct dfmt null_debug_form;