ofmt pointer in struct ofmt_alias should be const

One more place where an ofmt pointer exists, and it should be
const.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
This commit is contained in:
H. Peter Anvin 2016-02-18 01:30:33 -08:00
parent cd7893d02d
commit 501b35f234

2
nasm.h
View File

@ -849,7 +849,7 @@ struct ofmt {
struct ofmt_alias { struct ofmt_alias {
const char *shortname; const char *shortname;
const char *fullname; const char *fullname;
struct ofmt *ofmt; const struct ofmt *ofmt;
}; };
extern const struct ofmt *ofmt; extern const struct ofmt *ofmt;