teknoraver / rpms / rpm

Forked from rpms/rpm 3 months ago
Clone

Blame 0036-bsearchr_static.patch

bd9c00
--- a/plugins/reflink.c
bd9c00
+++ b/plugins/reflink.c
bd9c00
@@ -63,7 +63,7 @@ typedef struct reflink_state_s * reflink_state;
bd9c00
  * bsearch_r: implements a re-entrant version of stdlib's bsearch.
bd9c00
  * code taken and adapted from /usr/include/bits/stdlib-bsearch.h
bd9c00
  */
bd9c00
-inline void *
bd9c00
+static void *
bd9c00
 bsearch_r (const void *__key, const void *__base, size_t __nmemb, size_t __size,
bd9c00
 	 __compar_d_fn_t __compar, void *__arg)
bd9c00
 {