diff options
Diffstat (limited to 'libbb/copyfd.c')
-rw-r--r-- | libbb/copyfd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/libbb/copyfd.c b/libbb/copyfd.c index 08bc6f8..c5f8b5b 100644 --- a/libbb/copyfd.c +++ b/libbb/copyfd.c @@ -85,7 +85,7 @@ static off_t bb_full_fd_action(int src_fd, int dst_fd, off_t size) #if 0 -void complain_copyfd_and_die(off_t sz) +void FAST_FUNC complain_copyfd_and_die(off_t sz) { if (sz != -1) bb_error_msg_and_die("short read"); @@ -94,7 +94,7 @@ void complain_copyfd_and_die(off_t sz) } #endif -off_t bb_copyfd_size(int fd1, int fd2, off_t size) +off_t FAST_FUNC bb_copyfd_size(int fd1, int fd2, off_t size) { if (size) { return bb_full_fd_action(fd1, fd2, size); @@ -102,7 +102,7 @@ off_t bb_copyfd_size(int fd1, int fd2, off_t size) return 0; } -void bb_copyfd_exact_size(int fd1, int fd2, off_t size) +void FAST_FUNC bb_copyfd_exact_size(int fd1, int fd2, off_t size) { off_t sz = bb_copyfd_size(fd1, fd2, size); if (sz == size) @@ -113,7 +113,7 @@ void bb_copyfd_exact_size(int fd1, int fd2, off_t size) xfunc_die(); } -off_t bb_copyfd_eof(int fd1, int fd2) +off_t FAST_FUNC bb_copyfd_eof(int fd1, int fd2) { return bb_full_fd_action(fd1, fd2, 0); } |