projects
/
platform
/
upstream
/
libexif.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ed4baa0
)
Remove the inline keyword from exif_tag_table_count()
author
Dan Fandrich
<dan@coneharvesters.com>
Fri, 29 Jun 2018 21:49:56 +0000
(23:49 +0200)
committer
Dan Fandrich
<dan@coneharvesters.com>
Fri, 29 Jun 2018 21:49:56 +0000
(23:49 +0200)
This function is called from two object files and some compilers won't
export it when it's explicitly marked inline.
Fixes https://sourceforge.net/p/libexif/bugs/120/ reported by Reid Kleckner.
libexif/exif-tag.c
patch
|
blob
|
history
diff --git
a/libexif/exif-tag.c
b/libexif/exif-tag.c
index
aab1543
..
2236921
100644
(file)
--- a/
libexif/exif-tag.c
+++ b/
libexif/exif-tag.c
@@
-889,7
+889,7
@@
static const struct TagEntry {
* Return the number of entries in the EXIF tag table, including the
* terminating NULL entry.
*/
-
inline
unsigned int
+unsigned int
exif_tag_table_count (void)
{
return sizeof (ExifTagTable) / sizeof (ExifTagTable[0]);