From b32eceaca5f1dbbfd7cd0709a34ce6f97929e28f Mon Sep 17 00:00:00 2001 From: sandman Date: Tue, 10 Sep 2002 19:31:01 +0000 Subject: Workaround for gcc bug: gcc is irgnoring the inline keyword and the qembed_findImage function is exported to libqpe --- (limited to 'library/inlinepics_p.h') diff --git a/library/inlinepics_p.h b/library/inlinepics_p.h index 52d184b..892c321 100644 --- a/library/inlinepics_p.h +++ b/library/inlinepics_p.h @@ -5576,7 +5576,7 @@ static int cmpEmbedImage(const void *a, const void *b) const EmbedImage* eb = (const EmbedImage*)b; return strcmp(ea->name,eb->name); } -inline const QImage& qembed_findImage(const char* name) +inline static const QImage& qembed_findImage(const char* name) { EmbedImage key; key.name = name; EmbedImage* r = (EmbedImage*)bsearch( &key, embed_image_vec, -- cgit v0.9.0.2