]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - gas/config/tc-i386.c
x86: constify parse_insn()'s input
authorJan Beulich <jbeulich@suse.com>
Mon, 12 Dec 2022 12:50:31 +0000 (13:50 +0100)
committerJan Beulich <jbeulich@suse.com>
Mon, 12 Dec 2022 12:50:31 +0000 (13:50 +0100)
commit5317ad2ccc3d0099551140a20c1b12fe22030736
treeac637684b736aea15e17c8401d49329a11297d71
parent6825a3bc866115006a71c1f6bc84af061218c36c
x86: constify parse_insn()'s input

The function doesn't alter its input buffer: Reflect this in its
prototype. To avoid using any kind of cast, simply calculate the update
of "line" from the function's input and output.
gas/config/tc-i386.c