diff options
author | Mike Frysinger <vapier@gentoo.org> | 2024-01-03 03:07:25 -0500 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2024-01-03 03:13:47 -0500 |
commit | 339e44f8c0bcd4c9d8cf10faddff61fbb39cb201 (patch) | |
tree | 03adfc8ee3f62c4e47d84c4f6f20a9a2549f9135 /sim/igen/igen.h | |
parent | b37a470842dd788c32e52f5b43de44cc30c19305 (diff) | |
download | gdb-339e44f8c0bcd4c9d8cf10faddff61fbb39cb201.zip gdb-339e44f8c0bcd4c9d8cf10faddff61fbb39cb201.tar.gz gdb-339e44f8c0bcd4c9d8cf10faddff61fbb39cb201.tar.bz2 |
sim: igen: clean up headers a bit
Add standard multiple inclusion protection, and add a few missing
local includes when one header uses another. This isn't complete,
but fixes some short comings seen when merging the ppc igen.
Diffstat (limited to 'sim/igen/igen.h')
-rw-r--r-- | sim/igen/igen.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sim/igen/igen.h b/sim/igen/igen.h index eb5c755..cc3edac 100644 --- a/sim/igen/igen.h +++ b/sim/igen/igen.h @@ -19,6 +19,8 @@ You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>. */ +#ifndef IGEN_IGEN_H +#define IGEN_IGEN_H /* code-generation options: */ @@ -249,3 +251,5 @@ do { \ options.gen.icache_size = 1024; \ options.warning = warning; \ } while (0) + +#endif /* IGEN_IGEN_H */ |