summaryrefslogtreecommitdiff
path: root/nasmlib.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2007-11-08 19:15:33 -0800
committerH. Peter Anvin <hpa@zytor.com>2007-11-08 19:15:33 -0800
commitc84f1b927b0f0b1c9f0489cd4aa2667383f3e56f (patch)
treeb63f3e96277cbcba0b21a40c072bd5f5403e9889 /nasmlib.h
parent5fbbc8c2e7fbf6756fd1e8a400c6295c2428b897 (diff)
downloadnasm-c84f1b927b0f0b1c9f0489cd4aa2667383f3e56f.tar.gz
nasm-c84f1b927b0f0b1c9f0489cd4aa2667383f3e56f.tar.bz2
nasm-c84f1b927b0f0b1c9f0489cd4aa2667383f3e56f.zip
constipate the "str" argument to bsi() and bsii()
The string argument to bsi() and bsii() should be const.
Diffstat (limited to 'nasmlib.h')
-rw-r--r--nasmlib.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/nasmlib.h b/nasmlib.h
index 43c07f0..aed490e 100644
--- a/nasmlib.h
+++ b/nasmlib.h
@@ -304,8 +304,8 @@ void saa_fpwrite(struct SAA *, FILE *);
*
* bsi() is case sensitive, bsii() is case insensitive.
*/
-int bsi(char *string, const char **array, int size);
-int bsii(char *string, const char **array, int size);
+int bsi(const char *string, const char **array, int size);
+int bsii(const char *string, const char **array, int size);
char *src_set_fname(char *newname);
int32_t src_set_linnum(int32_t newline);