summaryrefslogtreecommitdiff
path: root/src/util.c
diff options
context:
space:
mode:
authorMichael Schroeder <mls@suse.de>2011-02-14 18:15:46 +0100
committerMichael Schroeder <mls@suse.de>2011-02-14 18:15:46 +0100
commita2dbbfcf5a3f2a6f9e01f3a69541649ff944cbcb (patch)
tree8e22f124f40f90bc9d951003a69d4d5ffee9e947 /src/util.c
parent01e184afcefd97f89627ec8fdccd7a5127278a0a (diff)
downloadlibsolv-a2dbbfcf5a3f2a6f9e01f3a69541649ff944cbcb.tar.gz
libsolv-a2dbbfcf5a3f2a6f9e01f3a69541649ff944cbcb.tar.bz2
libsolv-a2dbbfcf5a3f2a6f9e01f3a69541649ff944cbcb.zip
- update to freebsd qsort to get rid of advertising clause
- rename from qsort.c to qsort_r.c, modify to make it match glibc's argument ordering
Diffstat (limited to 'src/util.c')
-rw-r--r--src/util.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/util.c b/src/util.c
index e4b75c0..bfa18e3 100644
--- a/src/util.c
+++ b/src/util.c
@@ -99,9 +99,7 @@ sat_timems(unsigned int subtract)
}
#ifdef HAVE_OWN_QSORT
-#define __FBSDID(x)
-#define I_AM_QSORT_R
-#include "qsort.c"
+#include "qsort_r.c"
#endif
/* bsd's qsort_r has different arguments, so we define our