diff options
author | H. Peter Anvin <hpa@linux.intel.com> | 2016-02-17 20:59:22 -0800 |
---|---|---|
committer | H. Peter Anvin <hpa@linux.intel.com> | 2016-02-17 20:59:22 -0800 |
commit | 338656c1de8cace12c55c87ce40a7d909f18c2e9 (patch) | |
tree | 4f3619d97719b826ec83f4f37fdec5beade972cc /output/outrdf2.c | |
parent | a7bc15dd0aa963ab56a98ee04bc08ce6d9e3baea (diff) | |
download | nasm-338656c1de8cace12c55c87ce40a7d909f18c2e9.tar.gz |
output: make all instances of struct ofmt readonly
With current_dfmt gone, we can make all instances of struct ofmt
const (read-only).
Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
Diffstat (limited to 'output/outrdf2.c')
-rw-r--r-- | output/outrdf2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/output/outrdf2.c b/output/outrdf2.c index 4dcae83c..235d7139 100644 --- a/output/outrdf2.c +++ b/output/outrdf2.c @@ -775,7 +775,7 @@ static int rdf2_set_info(enum geninfo type, char **val) return 0; } -struct ofmt of_rdf2 = { +const struct ofmt of_rdf2 = { "Relocatable Dynamic Object File Format v2.0", "rdf", 0, |