summaryrefslogtreecommitdiff
path: root/gprof/cg_dfn.h
diff options
context:
space:
mode:
Diffstat (limited to 'gprof/cg_dfn.h')
-rw-r--r--gprof/cg_dfn.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/gprof/cg_dfn.h b/gprof/cg_dfn.h
new file mode 100644
index 00000000000..4bd3030257c
--- /dev/null
+++ b/gprof/cg_dfn.h
@@ -0,0 +1,17 @@
+#ifndef cg_dfn_h
+#define cg_dfn_h
+
+/*
+ * Flags which mark a symbol as topologically ``busy'' or as
+ * topologically ``not_numbered'':
+ */
+#define DFN_BUSY -1
+#define DFN_NAN 0
+
+/*
+ * Depth-first numbering of a call-graph.
+ */
+
+extern void cg_dfn PARAMS ((Sym * root));
+
+#endif /* cg_dfn_h */