summaryrefslogtreecommitdiff
path: root/src/internal
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2024-01-22 04:15:39 +0000
committermidipix <writeonce@midipix.org>2024-01-22 04:15:39 +0000
commit995aad77a51ffa35223bac858e8afdf1e46e69d3 (patch)
tree989437e4bc9a5a9edfd2f199c08f2d548e4b40be /src/internal
parent1eb9281c5f2289f8ddd0d5820b5972b096bf7753 (diff)
downloadslibtool-995aad77a51ffa35223bac858e8afdf1e46e69d3.tar.bz2
slibtool-995aad77a51ffa35223bac858e8afdf1e46e69d3.tar.xz
driver: ar mode: preliminar argv parsing: avoid TAG enum member ambiguity.
Diffstat (limited to 'src/internal')
-rw-r--r--src/internal/slibtool_ar_impl.h6
-rw-r--r--src/internal/slibtool_driver_impl.h4
2 files changed, 4 insertions, 6 deletions
diff --git a/src/internal/slibtool_ar_impl.h b/src/internal/slibtool_ar_impl.h
index 18d1ba2..70af6c5 100644
--- a/src/internal/slibtool_ar_impl.h
+++ b/src/internal/slibtool_ar_impl.h
@@ -7,12 +7,6 @@
extern const struct argv_option slbt_ar_options[];
-enum ar_tags {
- TAG_AR_HELP,
- TAG_AR_VERSION,
- TAG_AR_CHECK,
-};
-
struct ar_armaps_impl {
struct ar_raw_armap_bsd_32 armap_bsd_32;
struct ar_raw_armap_bsd_64 armap_bsd_64;
diff --git a/src/internal/slibtool_driver_impl.h b/src/internal/slibtool_driver_impl.h
index 388e1cf..9aca3f6 100644
--- a/src/internal/slibtool_driver_impl.h
+++ b/src/internal/slibtool_driver_impl.h
@@ -81,6 +81,10 @@ enum app_tags {
TAG_VERBATIM_FLAG,
TAG_THREAD_SAFE,
TAG_WEAK,
+ /* ar mode */
+ TAG_AR_HELP,
+ TAG_AR_VERSION,
+ TAG_AR_CHECK,
};
struct slbt_split_vector {