Skip to content

Commit

Permalink
RISC-V: Make some header guards more specific
Browse files Browse the repository at this point in the history
Cc: Sagar Karandikar <sagark@eecs.berkeley.edu>
Cc: Bastian Koppelmann <kbastian@mail.uni-paderborn.de>
Signed-off-by: Michael Clark <mjc@sifive.com>
Signed-off-by: Palmer Dabbelt <palmer@sifive.com>
Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
Reviewed-by: Alistair Francis <alistair.francis@wdc.com>
  • Loading branch information
Michael Clark committed May 5, 2018
1 parent 1dc34be commit 4996b12
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions include/hw/riscv/spike.h
Expand Up @@ -16,8 +16,8 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef HW_SPIKE_H
#define HW_SPIKE_H
#ifndef HW_RISCV_SPIKE_H
#define HW_RISCV_SPIKE_H

typedef struct {
/*< private >*/
Expand Down
4 changes: 2 additions & 2 deletions include/hw/riscv/virt.h
Expand Up @@ -16,8 +16,8 @@
* this program. If not, see <http://www.gnu.org/licenses/>.
*/

#ifndef HW_VIRT_H
#define HW_VIRT_H
#ifndef HW_RISCV_VIRT_H
#define HW_RISCV_VIRT_H

typedef struct {
/*< private >*/
Expand Down

0 comments on commit 4996b12

Please sign in to comment.