author | sandman <sandman> | 2002-09-23 10:16:35 (UTC) |
---|---|---|
committer | sandman <sandman> | 2002-09-23 10:16:35 (UTC) |
commit | 4af73fb07b69dce910abb2ac098b1045403cda67 (patch) (unidiff) | |
tree | f8a7c1ff8a18a88709ac52e42a472431f0aa7010 | |
parent | 8b06ea9e4407628ebae54d63592e8b8c940a62ad (diff) | |
download | opie-4af73fb07b69dce910abb2ac098b1045403cda67.zip opie-4af73fb07b69dce910abb2ac098b1045403cda67.tar.gz opie-4af73fb07b69dce910abb2ac098b1045403cda67.tar.bz2 |
gcc workaround for inline applied once again .. thanks Harlekin ;)
-rw-r--r-- | library/inlinepics_p.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/library/inlinepics_p.h b/library/inlinepics_p.h index daa7413..c796326 100644 --- a/library/inlinepics_p.h +++ b/library/inlinepics_p.h | |||
@@ -3712,9 +3712,9 @@ static int cmpEmbedImage(const void *a, const void *b) | |||
3712 | const EmbedImage* ea = (const EmbedImage*)a; | 3712 | const EmbedImage* ea = (const EmbedImage*)a; |
3713 | const EmbedImage* eb = (const EmbedImage*)b; | 3713 | const EmbedImage* eb = (const EmbedImage*)b; |
3714 | return strcmp(ea->name,eb->name); | 3714 | return strcmp(ea->name,eb->name); |
3715 | } | 3715 | } |
3716 | inline const QImage& qembed_findImage(const char* name) | 3716 | inline static const QImage& qembed_findImage(const char* name) |
3717 | { | 3717 | { |
3718 | EmbedImage key; key.name = name; | 3718 | EmbedImage key; key.name = name; |
3719 | EmbedImage* r = (EmbedImage*)bsearch( &key, embed_image_vec, | 3719 | EmbedImage* r = (EmbedImage*)bsearch( &key, embed_image_vec, |
3720 | sizeof(embed_image_vec)/sizeof(EmbedImage), sizeof(EmbedImage), cmpEmbedImage ); | 3720 | sizeof(embed_image_vec)/sizeof(EmbedImage), sizeof(EmbedImage), cmpEmbedImage ); |