aboutsummaryrefslogtreecommitdiff
path: root/gdb/common/pathstuff.h
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/common/pathstuff.h')
-rw-r--r--gdb/common/pathstuff.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gdb/common/pathstuff.h b/gdb/common/pathstuff.h
index 3cb02c8..9f26127 100644
--- a/gdb/common/pathstuff.h
+++ b/gdb/common/pathstuff.h
@@ -46,4 +46,8 @@ extern gdb::unique_xmalloc_ptr<char>
extern gdb::unique_xmalloc_ptr<char> gdb_abspath (const char *path);
+/* Return whether PATH contains a directory separator character. */
+
+extern bool contains_dir_separator (const char *path);
+
#endif /* PATHSTUFF_H */