RISC-V: Make some header guards more specific

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>
This commit is contained in:
Michael Clark 2018-03-05 19:20:53 +13:00
parent 1dc34be1c9
commit 4996b12874
No known key found for this signature in database
GPG Key ID: 6BF1D7B357EF3E4F
2 changed files with 4 additions and 4 deletions

View File

@ -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 >*/

View File

@ -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 >*/