aboutsummaryrefslogtreecommitdiff
path: root/gcc/toplev.h
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/toplev.h')
-rw-r--r--gcc/toplev.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gcc/toplev.h b/gcc/toplev.h
index c45105c..71a9fd5 100644
--- a/gcc/toplev.h
+++ b/gcc/toplev.h
@@ -155,4 +155,10 @@ extern bool fast_math_flags_set_p (void);
extern int exact_log2_wide (unsigned HOST_WIDE_INT);
extern int floor_log2_wide (unsigned HOST_WIDE_INT);
+/* Functions used to get and set GCC's notion of in what directory
+ compilation was started. */
+
+extern const char *get_src_pwd (void);
+extern bool set_src_pwd (const char *);
+
#endif /* ! GCC_TOPLEV_H */