projects
/
screensavers
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
2c7168a
)
Added missing include guard to simulator header file.
author
Aaron Taylor
<ataylor@subgeniuskitty.com>
Sat, 10 Jul 2021 21:23:40 +0000
(14:23 -0700)
committer
Aaron Taylor
<ataylor@subgeniuskitty.com>
Sat, 10 Jul 2021 21:23:40 +0000
(14:23 -0700)
hacks/NEDsim/simulator.h
patch
|
blob
|
blame
|
history
diff --git
a/hacks/NEDsim/simulator.h
b/hacks/NEDsim/simulator.h
index
4a3769e
..
83f8622
100644
(file)
--- a/
hacks/NEDsim/simulator.h
+++ b/
hacks/NEDsim/simulator.h
@@
-1,6
+1,9
@@
/* (c) 2021 Aaron Taylor <ataylor at subgeniuskitty dot com> */
/* See LICENSE.txt file for copyright and license details. */
/* (c) 2021 Aaron Taylor <ataylor at subgeniuskitty dot com> */
/* See LICENSE.txt file for copyright and license details. */
+#ifndef NEDSIM_SIMULATOR_H
+#define NEDSIM_SIMULATOR_H
+
#include <stdbool.h>
/* Bytes per word. */
#include <stdbool.h>
/* 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);
struct NEDstate * run_simulator(struct NEDstate * state);
uint32_t ram_r_word(struct NEDstate * state, uint32_t address);
+#endif