diff options
author | H. Peter Anvin <hpa@zytor.com> | 2002-09-12 02:23:54 +0000 |
---|---|---|
committer | H. Peter Anvin <hpa@zytor.com> | 2002-09-12 02:23:54 +0000 |
commit | bfebdb0a071fe4f657e9505331ea8cb210c9d9b9 (patch) | |
tree | 106c0ea14c4a0d9c3d02dcbea31195c37e9eb208 /nasmlib.h | |
parent | 3ab3f41305fef3bc81f7add649100c986b82487c (diff) | |
download | nasm-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.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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 |