mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 15:43:17 +02:00
fix for re-declarations of xgnutls_free
This commit is contained in:
parent
97444eac1c
commit
38867a2f09
2 changed files with 5 additions and 3 deletions
|
@ -14,6 +14,10 @@
|
|||
#include "NodeList.h"
|
||||
#include "DTLSSession.h"
|
||||
|
||||
void xgnutls_free(void* gnutlsPtr){
|
||||
gnutls_free(gnutlsPtr);
|
||||
}
|
||||
|
||||
int DTLSSession::socketPullTimeout(gnutls_transport_ptr_t ptr, unsigned int ms) {
|
||||
DTLSSession* session = static_cast<DTLSSession*>(ptr);
|
||||
QUdpSocket& dtlsSocket = session->_dtlsSocket;
|
||||
|
|
|
@ -28,9 +28,7 @@ typedef void (*gnutls_free_function) (void *);
|
|||
__declspec(dllimport) extern gnutls_free_function gnutls_free;
|
||||
#endif
|
||||
|
||||
void xgnutls_free(void* gnutlsPtr){
|
||||
gnutls_free(gnutlsPtr);
|
||||
}
|
||||
void xgnutls_free(void* gnutlsPtr);
|
||||
|
||||
class DTLSSession : public DummyDTLSSession {
|
||||
Q_OBJECT
|
||||
|
|
Loading…
Reference in a new issue