summaryrefslogtreecommitdiffstats
path: root/libtomcrypt/headers/tomcrypt_cfg.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_cfg.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_cfg.h')
-rw-r--r--libtomcrypt/headers/tomcrypt_cfg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libtomcrypt/headers/tomcrypt_cfg.h b/libtomcrypt/headers/tomcrypt_cfg.h
index 8ad90bc..93db10e 100644
--- a/libtomcrypt/headers/tomcrypt_cfg.h
+++ b/libtomcrypt/headers/tomcrypt_cfg.h
@@ -19,11 +19,11 @@
#define LTC_EXPORT
#endif
-LTC_EXPORT void LTC_CALL XQSORT(void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *));
-
/* certain platforms use macros for these, making the prototypes broken */
#ifndef LTC_NO_PROTOTYPES
+LTC_EXPORT void LTC_CALL XQSORT(void *base, size_t nmemb, size_t size, int(*compar)(const void *, const void *));
+
/* you can change how memory allocation works ... */
LTC_EXPORT void * LTC_CALL XMALLOC(size_t n);
LTC_EXPORT void * LTC_CALL XREALLOC(void *p, size_t n);