nasmlib: make nasm_strcat() take const arguments

None of the strings passed to nasm_strcat() are modified, to
make them const.
This commit is contained in:
H. Peter Anvin 2009-02-21 17:54:31 -08:00
parent 577f57614a
commit 00bf04f742
2 changed files with 2 additions and 2 deletions

View file

@ -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);

View file

@ -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;