summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH. Peter Anvin <hpa@linux.intel.com>2016-02-18 02:22:50 -0800
committerH. Peter Anvin <hpa@linux.intel.com>2016-02-18 02:22:50 -0800
commit2be1050f9340b48482b9b4846ecb86f1ba86e888 (patch)
tree375c77e959007e81e52fe9a16ace7612e02ac752
parente746971582cf43306f3e1282af561cfaebc0d244 (diff)
downloadnasm-2be1050f9340b48482b9b4846ecb86f1ba86e888.tar.gz
codeview: make struct dfmt df_cv8 const
This one was not declared const; fix that. Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
-rw-r--r--output/codeview.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/output/codeview.c b/output/codeview.c
index 2f5bb690..f837c126 100644
--- a/output/codeview.c
+++ b/output/codeview.c
@@ -58,7 +58,7 @@ static void cv8_typevalue(int32_t type);
static void cv8_output(int type, void *param);
static void cv8_cleanup(void);
-struct dfmt df_cv8 = {
+const struct dfmt df_cv8 = {
.fullname = "Codeview 8",
.shortname = "cv8",
.init = cv8_init,