cache.h (bf61c8840efe60fd8f91446860b63338fb424158) cache.h (89fe808ae777728da6e1d78b7d13562792310d17)
1#ifndef __PERF_CACHE_H
2#define __PERF_CACHE_H
3
4#include <stdbool.h>
5#include "util.h"
6#include "strbuf.h"
7#include "../perf.h"
8#include "../ui/ui.h"

--- 56 unchanged lines hidden (view full) ---

65char *strip_path_suffix(const char *path, const char *suffix);
66
67extern char *mkpath(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
68extern char *perf_path(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
69
70extern char *perf_pathdup(const char *fmt, ...)
71 __attribute__((format (printf, 1, 2)));
72
1#ifndef __PERF_CACHE_H
2#define __PERF_CACHE_H
3
4#include <stdbool.h>
5#include "util.h"
6#include "strbuf.h"
7#include "../perf.h"
8#include "../ui/ui.h"

--- 56 unchanged lines hidden (view full) ---

65char *strip_path_suffix(const char *path, const char *suffix);
66
67extern char *mkpath(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
68extern char *perf_path(const char *fmt, ...) __attribute__((format (printf, 1, 2)));
69
70extern char *perf_pathdup(const char *fmt, ...)
71 __attribute__((format (printf, 1, 2)));
72
73#ifndef HAVE_STRLCPY
73#ifndef HAVE_STRLCPY_SUPPORT
74extern size_t strlcpy(char *dest, const char *src, size_t size);
75#endif
76
77#endif /* __PERF_CACHE_H */
74extern size_t strlcpy(char *dest, const char *src, size_t size);
75#endif
76
77#endif /* __PERF_CACHE_H */