libextractor

GNU libextractor
Log | Files | Refs | Submodules | README | LICENSE

commit c3e3f4454206ed993e70325993b0470b9a1bafc9
parent 7b14c4528fa1b109240eba13678aa0e671951f26
Author: Christian Grothoff <christian@grothoff.org>
Date:   Tue, 19 May 2026 22:02:14 +0200

-fix warnings

Diffstat:
Msrc/plugins/thumbnailgtk_extractor.c | 12++++++++++++
1 file changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/plugins/thumbnailgtk_extractor.c b/src/plugins/thumbnailgtk_extractor.c @@ -57,6 +57,9 @@ static magic_t magic; * @param ec extraction context */ void +EXTRACTOR_thumbnailgtk_extract_method (struct EXTRACTOR_ExtractContext *ec); + +void EXTRACTOR_thumbnailgtk_extract_method (struct EXTRACTOR_ExtractContext *ec) { GdkPixbufLoader *loader; @@ -198,6 +201,9 @@ EXTRACTOR_thumbnailgtk_extract_method (struct EXTRACTOR_ExtractContext *ec) * @param ec extraction context */ void +EXTRACTOR_thumbnail_extract_method (struct EXTRACTOR_ExtractContext *ec); + +void EXTRACTOR_thumbnail_extract_method (struct EXTRACTOR_ExtractContext *ec) { EXTRACTOR_thumbnailgtk_extract_method (ec); @@ -208,6 +214,9 @@ EXTRACTOR_thumbnail_extract_method (struct EXTRACTOR_ExtractContext *ec) * Initialize glib and load magic file. */ void __attribute__ ((constructor)) +thumbnailgtk_gobject_init (void); + +void __attribute__ ((constructor)) thumbnailgtk_gobject_init () { #if ! GLIB_CHECK_VERSION (2, 35, 0) @@ -225,6 +234,9 @@ thumbnailgtk_gobject_init () * Destructor for the library, cleans up. */ void __attribute__ ((destructor)) +thumbnailgtk_ltdl_fini (void); + +void __attribute__ ((destructor)) thumbnailgtk_ltdl_fini () { if (NULL != magic)