mirror of
https://github.com/yuzu-emu/unicorn.git
synced 2025-03-29 09:26:56 +00:00
Clean up ill-advised or unusual header guards
Leading underscores are ill-advised because such identifiers are reserved. Trailing underscores are merely ugly. Strip both. Our header guards commonly end in _H. Normalize the exceptions. Done with scripts/clean-header-guards.pl. Backports commit a8b991b52dcde75ab5065046653626951aac666d from qemu
This commit is contained in:
parent
9a02741c13
commit
1b2c8c44d5
|
@ -19,8 +19,8 @@
|
|||
* this program. If not, see <http://www.gnu.org/licenses/>.
|
||||
*/
|
||||
|
||||
#ifndef _RISCV_PMP_H_
|
||||
#define _RISCV_PMP_H_
|
||||
#ifndef RISCV_PMP_H
|
||||
#define RISCV_PMP_H
|
||||
|
||||
typedef enum {
|
||||
PMP_READ = 1 << 0,
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
#ifndef _SPARC_ASI_H
|
||||
#define _SPARC_ASI_H
|
||||
#ifndef SPARC_ASI_H
|
||||
#define SPARC_ASI_H
|
||||
|
||||
/* asi.h: Address Space Identifier values for the sparc.
|
||||
*
|
||||
|
@ -309,4 +309,4 @@
|
|||
* implicit, little-endian
|
||||
*/
|
||||
|
||||
#endif /* _SPARC_ASI_H */
|
||||
#endif /* SPARC_ASI_H */
|
||||
|
|
Loading…
Reference in a new issue