Merge tag 'upstream/0.7'
[pysam.git] / samtools / ksort.h
index fa850ab0762a9225bae5b3bcad6739a3bb6a3c27..f8d8c4cdac961294fa2010ac6750ac5c36577ec0 100644 (file)
@@ -141,7 +141,7 @@ typedef struct {
                        tmp = *l; *l = l[i]; l[i] = tmp; ks_heapadjust_##name(0, i, l); \
                }                                                                                                                               \
        }                                                                                                                                       \
-       inline void __ks_insertsort_##name(type_t *s, type_t *t)                        \
+       static inline void __ks_insertsort_##name(type_t *s, type_t *t)                 \
        {                                                                                                                                       \
                type_t *i, *j, swap_tmp;                                                                                \
                for (i = s + 1; i < t; ++i)                                                                             \