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 /nasm.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 'nasm.h')
-rw-r--r-- | nasm.h | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -147,7 +147,7 @@ typedef struct { * work with when doing things like uplevel(LIST_TIMES) or * uplevel(LIST_INCBIN). */ - void (*output) (long, void *, unsigned long); + void (*output) (long, const void *, unsigned long); /* * Called to send a text line to the listing generator. The @@ -565,7 +565,7 @@ struct ofmt { * and user-level equivalents for any format-specific * directives). */ - char **stdmac; + const char **stdmac; /* * This procedure is called at the start of an output session. @@ -594,7 +594,7 @@ struct ofmt { * The `type' argument specifies the type of output data, and * usually the size as well: its contents are described below. */ - void (*output) (long segto, void *data, unsigned long type, + void (*output) (long segto, const void *data, unsigned long type, long segment, long wrt); /* |