From 09da80e9f4f80ae46cc7065c7fdd75c668347fa1 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 9 Dec 2016 20:59:07 +0100 Subject: [PATCH] tag/ApeTag: don't export ape_tags[] --- src/tag/ApeTag.cxx | 2 +- src/tag/ApeTag.hxx | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/src/tag/ApeTag.cxx b/src/tag/ApeTag.cxx index 64c6f0998..30e49134e 100644 --- a/src/tag/ApeTag.cxx +++ b/src/tag/ApeTag.cxx @@ -29,7 +29,7 @@ #include -const struct tag_table ape_tags[] = { +static constexpr struct tag_table ape_tags[] = { { "year", TAG_DATE }, { nullptr, TAG_NUM_OF_ITEM_TYPES } }; diff --git a/src/tag/ApeTag.hxx b/src/tag/ApeTag.hxx index 0b8fec0c7..5cd7a97d2 100644 --- a/src/tag/ApeTag.hxx +++ b/src/tag/ApeTag.hxx @@ -25,8 +25,6 @@ class InputStream; struct TagHandler; -extern const struct tag_table ape_tags[]; - /** * Scan the APE tags of a stream. *