aboutsummaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorDavid Bremner <david@tethera.net>2020-04-27 09:24:22 -0300
committerDavid Bremner <david@tethera.net>2020-04-28 10:35:44 -0300
commitad9c2e91a012920bebfe70bc472d44678abc3259 (patch)
treefe61c4e6b18594cbe4d9734dc31d0d21545b325f /test
parent11ac932a4503872c19987b843d58513c4b9ef76f (diff)
util/zlib-extra: de-inline gzerror_str
It turns out that putting inline functions in C header files is not a good idea, and can cause linking problems if the compiler decides not to inline them. In principle this is solvable by using a "static inline" declaration, but this potentially makes a copy in every compilation unit. Since we don't actually care about the performance of this function, just use a non-inline function.
Diffstat (limited to 'test')
0 files changed, 0 insertions, 0 deletions