summaryrefslogtreecommitdiff
path: root/nasm.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 /nasm.h
parent3ab3f41305fef3bc81f7add649100c986b82487c (diff)
downloadnasm-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.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/nasm.h b/nasm.h
index c767348..4db1c29 100644
--- a/nasm.h
+++ b/nasm.h
@@ -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);
/*