Skip to content

Commit

Permalink
rename some C header guards to be without _ as prefix to follow namin…
Browse files Browse the repository at this point in the history
…g convention of C language. suggested by Markus Elfring
  • Loading branch information
aquynh committed Jan 2, 2014
1 parent 57ab21b commit ae3649f
Show file tree
Hide file tree
Showing 8 changed files with 16 additions and 16 deletions.
4 changes: 2 additions & 2 deletions MCDisassembler.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* Capstone Disassembler Engine */
/* By Nguyen Anh Quynh <[email protected]>, 2013> */

#ifndef __CS_MCDISASSEMBLER_H__
#define __CS_MCDISASSEMBLER_H__
#ifndef CS_MCDISASSEMBLER_H
#define CS_MCDISASSEMBLER_H

typedef enum DecodeStatus {
MCDisassembler_Fail = 0,
Expand Down
4 changes: 2 additions & 2 deletions MCInst.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,8 +16,8 @@
/* Capstone Disassembler Engine */
/* By Nguyen Anh Quynh <[email protected]>, 2013> */

#ifndef __CS_MC_MCINST_H
#define __CS_MC_MCINST_H
#ifndef CS_MCINST_H
#define CS_MCINST_H

#include <stdint.h>
#include <stdbool.h>
Expand Down
4 changes: 2 additions & 2 deletions cs_priv.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* Capstone Disassembler Engine */
/* By Nguyen Anh Quynh <[email protected]>, 2013> */

#ifndef __CS_PRIV_H__
#define __CS_PRIV_H__
#ifndef CS_PRIV_H
#define CS_PRIV_H

#include <capstone.h>

Expand Down
4 changes: 2 additions & 2 deletions include/arm.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __CS_ARM_H__
#define __CS_ARM_H__
#ifndef CS_ARM_H
#define CS_ARM_H

/* Capstone Disassembler Engine */
/* By Nguyen Anh Quynh <[email protected]>, 2013> */
Expand Down
4 changes: 2 additions & 2 deletions include/arm64.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __CS_ARM64_H__
#define __CS_ARM64_H__
#ifndef CS_ARM64_H
#define CS_ARM64_H

/* Capstone Disassembler Engine */
/* By Nguyen Anh Quynh <[email protected]>, 2013> */
Expand Down
4 changes: 2 additions & 2 deletions include/capstone.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __CS_H__
#define __CS_H__
#ifndef CAPSTONE_ENGINE_H
#define CAPSTONE_ENGINE_H

/* Capstone Disassembler Engine */
/* By Nguyen Anh Quynh <[email protected]>, 2013> */
Expand Down
4 changes: 2 additions & 2 deletions include/mips.h
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef __CS_MIPS_H__
#define __CS_MIPS_H__
#ifndef CS_MIPS_H
#define CS_MIPS_H

/* Capstone Disassembler Engine */
/* By Nguyen Anh Quynh <[email protected]>, 2013> */
Expand Down
4 changes: 2 additions & 2 deletions utils.h
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
/* Capstone Disassembler Engine */
/* By Nguyen Anh Quynh <[email protected]>, 2013> */

#ifndef __CS_UTILS_H__
#define __CS_UTILS_H__
#ifndef CS_UTILS_H
#define CS_UTILS_H

#include <stdbool.h>

Expand Down

0 comments on commit ae3649f

Please sign in to comment.