mirror of
https://github.com/torvalds/linux.git
synced 2024-12-04 01:51:34 +00:00
fa0d98462f
Remove the last unneeded use of cache.h in a header, we can check where it is really needed, i.e. we can remove it and be sure that it isn't being obtained indirectly. This is an old file, used by now incorrectly in many places, so it was providing includes needed indirectly, fixup this fallout. Cc: Adrian Hunter <adrian.hunter@intel.com> Cc: Jiri Olsa <jolsa@kernel.org> Cc: Namhyung Kim <namhyung@kernel.org> Link: https://lkml.kernel.org/n/tip-3x3l8gihoaeh7714os861ia7@git.kernel.org Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
17 lines
451 B
C
17 lines
451 B
C
/* SPDX-License-Identifier: GPL-2.0 */
|
|
#ifndef _PERF_PATH_H
|
|
#define _PERF_PATH_H
|
|
|
|
#include <stddef.h>
|
|
#include <stdbool.h>
|
|
|
|
struct dirent;
|
|
|
|
int path__join(char *bf, size_t size, const char *path1, const char *path2);
|
|
int path__join3(char *bf, size_t size, const char *path1, const char *path2, const char *path3);
|
|
|
|
bool is_regular_file(const char *file);
|
|
bool is_directory(const char *base_path, const struct dirent *dent);
|
|
|
|
#endif /* _PERF_PATH_H */
|