summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers/tomcrypt_custom.h
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2010-09-02 23:10:17 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2010-09-02 23:11:42 +0200
commit5000469e203ada7c65073f32770491057c8233bd (patch)
treeed82a497f3e772a5844037d5dcba9b36c75176ae /libtomcrypt/headers/tomcrypt_custom.h
parent72316eded1cc13dd8a339be92f43eeb79f252193 (diff)
downloadcryptodev-linux-5000469e203ada7c65073f32770491057c8233bd.tar.gz
cryptodev-linux-5000469e203ada7c65073f32770491057c8233bd.tar.xz
cryptodev-linux-5000469e203ada7c65073f32770491057c8233bd.zip
Use the linux kernel heapsort instead of including qsort.
Diffstat (limited to 'libtomcrypt/headers/tomcrypt_custom.h')
-rw-r--r--libtomcrypt/headers/tomcrypt_custom.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libtomcrypt/headers/tomcrypt_custom.h b/libtomcrypt/headers/tomcrypt_custom.h
index c537dc7..76b5744 100644
--- a/libtomcrypt/headers/tomcrypt_custom.h
+++ b/libtomcrypt/headers/tomcrypt_custom.h
@@ -65,7 +65,7 @@
#ifdef qsort
#define LTC_NO_PROTOTYPES
#endif
-#define XQSORT qsort
+#define XQSORT(x,y,z,w) sort(x,y,z,w,NULL)
#endif
/* Easy button? */