From f9c19ef3c60356dc4d163a3ed2d1fa86535a2332 Mon Sep 17 00:00:00 2001 From: Aaron Taylor Date: Sat, 10 Jul 2021 14:23:40 -0700 Subject: [PATCH] Added missing include guard to simulator header file. --- hacks/NEDsim/simulator.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/hacks/NEDsim/simulator.h b/hacks/NEDsim/simulator.h index 4a3769e..83f8622 100644 --- a/hacks/NEDsim/simulator.h +++ b/hacks/NEDsim/simulator.h @@ -1,6 +1,9 @@ /* (c) 2021 Aaron Taylor */ /* See LICENSE.txt file for copyright and license details. */ +#ifndef NEDSIM_SIMULATOR_H +#define NEDSIM_SIMULATOR_H + #include /* Bytes per word. */ @@ -64,3 +67,4 @@ struct NEDstate * init_simulator(char * input_file); struct NEDstate * run_simulator(struct NEDstate * state); uint32_t ram_r_word(struct NEDstate * state, uint32_t address); +#endif -- 2.20.1