diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 02:52:20 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-06-27 02:52:20 +0000 |
commit | defc1ea34074e7882724c460260d307cdf981a70 (patch) | |
tree | fca9b9a5fe243f9c0c76b84824ea2ff92ea8e589 /archival/tar.c | |
parent | 26bc57d8b26425f23f4be974cce7bf35c95c9a1a (diff) | |
download | busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.gz busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.tar.bz2 busybox-w32-defc1ea34074e7882724c460260d307cdf981a70.zip |
*: introduce and use FAST_FUNC: regparm on i386, otherwise no-on
text data bss dec hex filename
808035 611 6868 815514 c719a busybox_old
804472 611 6868 811951 c63af busybox_unstripped
Diffstat (limited to 'archival/tar.c')
-rw-r--r-- | archival/tar.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/archival/tar.c b/archival/tar.c index 0162e0623..2a140184c 100644 --- a/archival/tar.c +++ b/archival/tar.c | |||
@@ -396,7 +396,7 @@ static int exclude_file(const llist_t *excluded_files, const char *file) | |||
396 | #define exclude_file(excluded_files, file) 0 | 396 | #define exclude_file(excluded_files, file) 0 |
397 | #endif | 397 | #endif |
398 | 398 | ||
399 | static int writeFileToTarball(const char *fileName, struct stat *statbuf, | 399 | static int FAST_FUNC writeFileToTarball(const char *fileName, struct stat *statbuf, |
400 | void *userData, int depth ATTRIBUTE_UNUSED) | 400 | void *userData, int depth ATTRIBUTE_UNUSED) |
401 | { | 401 | { |
402 | struct TarBallInfo *tbInfo = (struct TarBallInfo *) userData; | 402 | struct TarBallInfo *tbInfo = (struct TarBallInfo *) userData; |
@@ -680,7 +680,7 @@ static llist_t *append_file_list_to_list(llist_t *list) | |||
680 | #endif | 680 | #endif |
681 | 681 | ||
682 | #if ENABLE_FEATURE_TAR_COMPRESS | 682 | #if ENABLE_FEATURE_TAR_COMPRESS |
683 | static char get_header_tar_Z(archive_handle_t *archive_handle) | 683 | static char FAST_FUNC get_header_tar_Z(archive_handle_t *archive_handle) |
684 | { | 684 | { |
685 | /* Can't lseek over pipes */ | 685 | /* Can't lseek over pipes */ |
686 | archive_handle->seek = seek_by_read; | 686 | archive_handle->seek = seek_by_read; |
@@ -802,7 +802,7 @@ static const char tar_longopts[] ALIGN1 = | |||
802 | int tar_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; | 802 | int tar_main(int argc, char **argv) MAIN_EXTERNALLY_VISIBLE; |
803 | int tar_main(int argc ATTRIBUTE_UNUSED, char **argv) | 803 | int tar_main(int argc ATTRIBUTE_UNUSED, char **argv) |
804 | { | 804 | { |
805 | char (*get_header_ptr)(archive_handle_t *) = get_header_tar; | 805 | char FAST_FUNC (*get_header_ptr)(archive_handle_t *) = get_header_tar; |
806 | archive_handle_t *tar_handle; | 806 | archive_handle_t *tar_handle; |
807 | char *base_dir = NULL; | 807 | char *base_dir = NULL; |
808 | const char *tar_filename = "-"; | 808 | const char *tar_filename = "-"; |