remove EXIV2API from src

Already declared in include

Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
Rosen Penev 2023-04-05 14:48:51 -07:00
parent 64556b02d2
commit c8c289613d
2 changed files with 3 additions and 3 deletions

View File

@ -602,7 +602,7 @@ MemIo::Impl::Impl(const byte* data, size_t size) : data_(const_cast<byte*>(data)
@brief Utility class provides the block mapping to the part of data. This avoids allocating
a single contiguous block of memory to the big data.
*/
class EXIV2API BlockMap {
class BlockMap {
public:
//! the status of the block.
enum blockType_e { bNone, bKnown, bMemory };

View File

@ -67,7 +67,7 @@
#ifdef EXV_ENABLE_BMFF
namespace Exiv2 {
static bool enabled = false;
EXIV2API bool enableBMFF(bool enable) {
bool enableBMFF(bool enable) {
enabled = enable;
return true;
}
@ -800,7 +800,7 @@ bool isBmffType(BasicIo& iIo, bool advance) {
} // namespace Exiv2
#else // ifdef EXV_ENABLE_BMFF
namespace Exiv2 {
EXIV2API bool enableBMFF(bool) {
bool enableBMFF(bool) {
return false;
}
} // namespace Exiv2