*: add FAST_FUNC markers
No binary (build failed)
—
(log yok)
| @@ -12,10 +12,10 @@ | |
| typedef int (*stat_func)(const char *fn, struct stat *ps); | |
| - | int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf); |
| - | int cp_mv_stat(const char *fn, struct stat *fn_stat); |
| + | int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) FAST_FUNC; |
| + | int cp_mv_stat(const char *fn, struct stat *fn_stat) FAST_FUNC; |
| - | mode_t getopt_mk_fifo_nod(char **argv); |
| + | mode_t getopt_mk_fifo_nod(char **argv) FAST_FUNC; |
| #if __GNUC_PREREQ(4,1) | |
| # pragma GCC visibility pop | |
| @@ -23,7 +23,7 @@ | |
| #include "libbb.h" | |
| #include "coreutils.h" | |
| - | int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) |
| + | int FAST_FUNC cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) |
| { | |
| if (sf(fn, fn_stat) < 0) { | |
| if (errno != ENOENT) { | |
| @@ -44,7 +44,7 @@ int cp_mv_stat2(const char *fn, struct stat *fn_stat, stat_func sf) | |
| return 1; | |
| } | |
| - | int cp_mv_stat(const char *fn, struct stat *fn_stat) |
| + | int FAST_FUNC cp_mv_stat(const char *fn, struct stat *fn_stat) |
| { | |
| return cp_mv_stat2(fn, fn_stat, stat); | |
| } | |
| @@ -23,7 +23,7 @@ | |
| #include "libbb.h" | |
| #include "coreutils.h" | |
| - | mode_t getopt_mk_fifo_nod(char **argv) |
| + | mode_t FAST_FUNC getopt_mk_fifo_nod(char **argv) |
| { | |
| mode_t mode = 0666; | |
| char *smode = NULL; | |