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/gen-itable.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/gen-itable.h')
-rw-r--r-- | sim/igen/gen-itable.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sim/igen/gen-itable.h b/sim/igen/gen-itable.h index 37d39fe..2991d18 100644 --- a/sim/igen/gen-itable.h +++ b/sim/igen/gen-itable.h @@ -19,10 +19,13 @@ 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_GEN_ITABLE_H +#define IGEN_GEN_ITABLE_H /* Output a table of all the instructions */ extern void gen_itable_h (lf *file, const insn_table *table); extern void gen_itable_c (lf *file, const insn_table *table); + +#endif /* IGEN_GEN_ITABLE_H */ |