diff --git a/src/arbits/slbt_archive_meta.c b/src/arbits/slbt_archive_meta.c index 804ac39..ec45777 100644 --- a/src/arbits/slbt_archive_meta.c +++ b/src/arbits/slbt_archive_meta.c @@ -16,15 +16,6 @@ #include "slibtool_driver_impl.h" #include "slibtool_errinfo_impl.h" -/* decimal values in archive header are right padded with ascii spaces */ -#define AR_DEC_PADDING (0x20) - -/* archive file members are right padded as needed with ascii newline */ -#define AR_OBJ_PADDING (0x0A) - -/* initial number of elements in the transient, on-stack vector */ -# define AR_STACK_VECTOR_ELEMENTS (0x200) - /* transient header info vector */ struct ar_header_info { struct ar_raw_file_header * phdr; diff --git a/src/internal/slibtool_ar_impl.h b/src/internal/slibtool_ar_impl.h index 48cdec8..0aa0526 100644 --- a/src/internal/slibtool_ar_impl.h +++ b/src/internal/slibtool_ar_impl.h @@ -5,6 +5,15 @@ #include #include +/* decimal values in archive header are right padded with ascii spaces */ +#define AR_DEC_PADDING (0x20) + +/* archive file members are right padded as needed with ascii newline */ +#define AR_OBJ_PADDING (0x0A) + +/* initial number of elements in the transient, on-stack vector */ +# define AR_STACK_VECTOR_ELEMENTS (0x200) + extern const struct argv_option slbt_ar_options[]; struct ar_armaps_impl {