summaryrefslogtreecommitdiff
path: root/nasmlib.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-09-12 02:23:54 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-09-12 02:23:54 +0000
commitbfebdb0a071fe4f657e9505331ea8cb210c9d9b9 (patch)
tree106c0ea14c4a0d9c3d02dcbea31195c37e9eb208 /nasmlib.h
parent3ab3f41305fef3bc81f7add649100c986b82487c (diff)
downloadnasm-bfebdb0a071fe4f657e9505331ea8cb210c9d9b9.tar.gz
nasm-bfebdb0a071fe4f657e9505331ea8cb210c9d9b9.tar.bz2
nasm-bfebdb0a071fe4f657e9505331ea8cb210c9d9b9.zip
"const"-ipation fixes from Trevor Woerner
Diffstat (limited to 'nasmlib.h')
-rw-r--r--nasmlib.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nasmlib.h b/nasmlib.h
index 78f7dd0..5496453 100644
--- a/nasmlib.h
+++ b/nasmlib.h
@@ -197,7 +197,7 @@ struct SAA {
struct SAA *saa_init (long elem_len); /* 1 == byte */
void saa_free (struct SAA *);
void *saa_wstruct (struct SAA *); /* return a structure of elem_len */
-void saa_wbytes (struct SAA *, void *, long); /* write arbitrary bytes */
+void saa_wbytes (struct SAA *, const void *, long); /* write arbitrary bytes */
void saa_rewind (struct SAA *); /* for reading from beginning */
void *saa_rstruct (struct SAA *); /* return NULL on EOA */
void *saa_rbytes (struct SAA *, long *); /* return 0 on EOA */
@@ -234,7 +234,7 @@ long reloc_wrt(expr *);
* matching `string', or <0 if no match. `array' is taken to
* contain `size' elements.
*/
-int bsi (char *string, char **array, int size);
+int bsi (char *string, const char **array, int size);
char *src_set_fname(char *newname);
@@ -252,7 +252,7 @@ void nasm_quote(char **str);
char *nasm_strcat(char *one, char *two);
void nasmlib_cleanup(void);
-void null_debug_routine(void);
+void null_debug_routine(const char *directive, const char *params);
extern struct dfmt null_debug_form;
extern struct dfmt *null_debug_arr[2];
#endif