summaryrefslogtreecommitdiff
path: root/nasm.h
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@zytor.com>2002-05-14 22:38:55 +0000
committerH. Peter Anvin <hpa@zytor.com>2002-05-14 22:38:55 +0000
commit310b3e165f86d6655bf68bd89ff9309aa63663f2 (patch)
treed06af9a44d1e2f0d165caf33be7a3718995f5838 /nasm.h
parent86e94b1b3396a1611dcb545baed5f9760cf903c3 (diff)
downloadnasm-310b3e165f86d6655bf68bd89ff9309aa63663f2.tar.gz
nasm-310b3e165f86d6655bf68bd89ff9309aa63663f2.tar.bz2
nasm-310b3e165f86d6655bf68bd89ff9309aa63663f2.zip
Code cleanup fixes from Ed Beroset
Diffstat (limited to 'nasm.h')
-rw-r--r--nasm.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/nasm.h b/nasm.h
index 66c9e96..b38e4f8 100644
--- a/nasm.h
+++ b/nasm.h
@@ -65,7 +65,7 @@ struct ofmt;
/*
* An error reporting function should look like this.
*/
-typedef void (*efunc) (int severity, char *fmt, ...);
+typedef void (*efunc) (int severity, const char *fmt, ...);
/*
* These are the error severity codes which get passed as the first
@@ -542,19 +542,19 @@ struct ofmt {
* This is a short (one-liner) description of the type of
* output generated by the driver.
*/
- char *fullname;
+ const char *fullname;
/*
* This is a single keyword used to select the driver.
*/
- char *shortname;
+ const char *shortname;
/*
* this is reserved for out module specific help.
* It is set to NULL in all the out modules but is not implemented
* in the main program
*/
- char *helpstring;
+ const char *helpstring;
/*
* this is a pointer to the first element of the debug information
@@ -758,12 +758,12 @@ struct dfmt {
* This is a short (one-liner) description of the type of
* output generated by the driver.
*/
- char *fullname;
+ const char *fullname;
/*
* This is a single keyword used to select the driver.
*/
- char *shortname;
+ const char *shortname;
/*