From aa07e98c7be3776e69b6ed5269a6bdcc351b176a Mon Sep 17 00:00:00 2001 From: Hermet Park Date: Thu, 15 Feb 2024 15:30:42 +0900 Subject: [PATCH] loader/webp: do not expose webp apis. this reduces the bin size around -1.5kb --- src/loaders/webp/webp/types.h | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/loaders/webp/webp/types.h b/src/loaders/webp/webp/types.h index 008fcbfb..edac1986 100644 --- a/src/loaders/webp/webp/types.h +++ b/src/loaders/webp/webp/types.h @@ -37,14 +37,7 @@ typedef long long int int64_t; #endif /* _MSC_VER */ #ifndef WEBP_EXTERN -// This explicitly marks library functions and allows for changing the -// signature for e.g., Windows DLL builds. -# if defined(__GNUC__) && __GNUC__ >= 4 -# define WEBP_EXTERN(type) extern __attribute__ ((visibility ("default"))) type -# else # define WEBP_EXTERN(type) extern type -# endif /* __GNUC__ >= 4 */ - #endif /* WEBP_EXTERN */ // Macro to check ABI compatibility (same major revision number)