]> git.saurik.com Git - apple/libc.git/blob - stdlib/FreeBSD/qsort.c.patch
Libc-391.4.1.tar.gz
[apple/libc.git] / stdlib / FreeBSD / qsort.c.patch
1 --- qsort.c.orig 2004-12-01 20:08:48.000000000 -0800
2 +++ qsort.c 2004-12-01 20:10:50.000000000 -0800
3 @@ -44,8 +44,8 @@
4 #else
5 typedef int cmp_t(const void *, const void *);
6 #endif
7 -static inline char *med3(char *, char *, char *, cmp_t *, void *);
8 -static inline void swapfunc(char *, char *, int, int);
9 +static inline char *med3(char *, char *, char *, cmp_t *, void *) __attribute__((always_inline));
10 +static inline void swapfunc(char *, char *, int, int) __attribute__((always_inline));
11
12 #define min(a, b) (a) < (b) ? a : b
13