X-Git-Url: http://woldlab.caltech.edu/gitweb/?p=pysam.git;a=blobdiff_plain;f=samtools%2Fksort.h;fp=samtools%2Fksort.h;h=f8d8c4cdac961294fa2010ac6750ac5c36577ec0;hp=fa850ab0762a9225bae5b3bcad6739a3bb6a3c27;hb=68c074fc81858150ca7447a88e731eec96be6378;hpb=768881ffd9d33e3c5fa00dd9ea6f488f4f0700b3 diff --git a/samtools/ksort.h b/samtools/ksort.h index fa850ab..f8d8c4c 100644 --- a/samtools/ksort.h +++ b/samtools/ksort.h @@ -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) \