diff options
Diffstat (limited to 'tools/perf/util/path.h')
-rw-r--r-- | tools/perf/util/path.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/path.h b/tools/perf/util/path.h index 14a254ada7eb..f014f905df50 100644 --- a/tools/perf/util/path.h +++ b/tools/perf/util/path.h | |||
@@ -2,9 +2,12 @@ | |||
2 | #ifndef _PERF_PATH_H | 2 | #ifndef _PERF_PATH_H |
3 | #define _PERF_PATH_H | 3 | #define _PERF_PATH_H |
4 | 4 | ||
5 | struct dirent; | ||
6 | |||
5 | int path__join(char *bf, size_t size, const char *path1, const char *path2); | 7 | int path__join(char *bf, size_t size, const char *path1, const char *path2); |
6 | int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3); | 8 | int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3); |
7 | 9 | ||
8 | bool is_regular_file(const char *file); | 10 | bool is_regular_file(const char *file); |
11 | bool is_directory(const char *base_path, const struct dirent *dent); | ||
9 | 12 | ||
10 | #endif /* _PERF_PATH_H */ | 13 | #endif /* _PERF_PATH_H */ |