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=920cc77ed26707a0d92f9e436121b61d84bde627;hpb=8ab946e230447a6fe686edabc5e3cfa445da1721 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) \