mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
Clean up a few header guard symbols
Commit58ea30f514
"Clean up header guards that don't match their file name" messed up contrib/elf2dmp/qemu_elf.h and tests/migration/migration-test.h. It missed target/cris/opcode-cris.h and tests/uefi-test-tools/UefiTestToolsPkg/Include/Guid/BiosTablesTest.h due to the scripts/clean-header-guards.pl bug fixed in the previous commit. Commita8b991b52d
"Clean up ill-advised or unusual header guards" missed include/hw/xen/io/ring.h for the same reason. Commit3979fca4b6
"disas: Rename include/disas/bfd.h back to include/disas/dis-asm.h" neglected to update the guard symbol for the rename. Commita331c6d774
"semihosting: implement a semihosting console" created include/hw/semihosting/console.h with an ill-advised guard symbol. Clean them up. Signed-off-by: Markus Armbruster <armbru@redhat.com> Message-Id: <20190604181618.19980-4-armbru@redhat.com> Reviewed-by: Philippe Mathieu-Daudé <philmd@redhat.com> Tested-by: Philippe Mathieu-Daudé <philmd@redhat.com>
This commit is contained in:
parent
c0a9956b32
commit
37677d7db3
7 changed files with 18 additions and 19 deletions
|
@ -19,8 +19,8 @@ GNU General Public License for more details.
|
|||
You should have received a copy of the GNU General Public License
|
||||
along with this program; if not, see <http://www.gnu.org/licenses/>. */
|
||||
|
||||
#ifndef __CRIS_H_INCLUDED_
|
||||
#define __CRIS_H_INCLUDED_
|
||||
#ifndef TARGET_CRIS_OPCODE_CRIS_H
|
||||
#define TARGET_CRIS_OPCODE_CRIS_H
|
||||
|
||||
#if !defined(__STDC__) && !defined(const)
|
||||
#define const
|
||||
|
@ -345,7 +345,7 @@ extern const struct cris_opcode cris_opcodes[];
|
|||
sign-extended before adding to "target". */
|
||||
#define CRIS_DIS_FLAG_MEM_TARGET2_MEM_WORD (1 << 7)
|
||||
|
||||
#endif /* __CRIS_H_INCLUDED_ */
|
||||
#endif /* TARGET_CRIS_OPCODE_CRIS_H */
|
||||
|
||||
/*
|
||||
* Local variables:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue