]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
gas: centralize declaration of listing_tail
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 10:26:43 +0000 (11:26 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Mar 2025 10:26:43 +0000 (11:26 +0100)
commite83aca0906f40c9dc0cf06dd0b743a5ad4df1ceb
treece4acb9f5c02cce010481c61dcc0d48bf437dc73
parentcdd8492b05979842a1660e99862cd1680e52b28d
gas: centralize declaration of listing_tail

Besides it being somewhat off to have three decls scattered across the
code base, it is generally bad practice for the definition of a symbol
to not also observe its declaration (making sure the two won't go out of
sync).
gas/config/tc-arm.c
gas/frags.c
gas/listing.h
gas/read.c