summaryrefslogtreecommitdiff
path: root/gcc/graphds.h
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-18 22:34:23 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2014-09-18 22:34:23 +0000
commitce6bb0f3c801a838dfcd75861b778258ac56f814 (patch)
tree51ef7cf67814b3a880c9055544cea24abae3beb5 /gcc/graphds.h
parentf63ac7042912e6368d442fe69ae1d71085ca78e2 (diff)
downloadgcc-ce6bb0f3c801a838dfcd75861b778258ac56f814.tar.gz
Add header guard to several header files.
2014-09-19 Kito Cheng <kito@0xlab.org> * except.h: Fix header guard. * addresses.h: Add missing header guard. * cfghooks.h: Likewise. * collect-utils.h: Likewise. * collect2-aix.h: Likewise. * conditions.h: Likewise. * cselib.h: Likewise. * dwarf2asm.h: Likewise. * graphds.h: Likewise. * graphite-scop-detection.h: Likewise. * gsyms.h: Likewise. * hw-doloop.h: Likewise. * incpath.h: Likewise. * ipa-inline.h: Likewise. * ipa-ref.h: Likewise. * ira-int.h: Likewise. * ira.h: Likewise. * lra-int.h: Likewise. * lra.h: Likewise. * lto-section-names.h: Likewise. * read-md.h: Likewise. * reload.h: Likewise. * rtl-error.h: Likewise. * sdbout.h: Likewise. * targhooks.h: Likewise. * tree-affine.h: Likewise. * xcoff.h: Likewise. * xcoffout.h: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@215365 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/graphds.h')
-rw-r--r--gcc/graphds.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gcc/graphds.h b/gcc/graphds.h
index 03f969afca5..fbae09c2c55 100644
--- a/gcc/graphds.h
+++ b/gcc/graphds.h
@@ -17,6 +17,9 @@ You should have received a copy of the GNU General Public License
along with GCC; see the file COPYING3. If not see
<http://www.gnu.org/licenses/>. */
+#ifndef GCC_GRAPHDS_H
+#define GCC_GRAPHDS_H
+
/* Structure representing edge of a graph. */
struct graph_edge
@@ -59,3 +62,5 @@ void graphds_domtree (struct graph *, int, int *, int *, int *);
typedef void (*graphds_edge_callback) (struct graph *, struct graph_edge *);
void for_each_edge (struct graph *, graphds_edge_callback);
void free_graph (struct graph *g);
+
+#endif /* GCC_GRAPHDS_H */