*: add FAST_FUNC markers
function old new delta getopt_mk_fifo_nod 73 70 -3 mv_main 505 501 -4 cp_mv_stat2 79 73 -6 cp_main 266 257 -9 cp_mv_stat 22 10 -12 ------------------------------------------------------------------------------ (add/remove: 0/1 grow/shrink: 1/5 up/down: 46/-80) Total: -34 bytes
This commit is contained in:
@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user