Satisfied another compiler warning.

git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3308 ab8295b8-cf94-4d9e-aec4-7959e3be5d79
This commit is contained in:
Joe Taylor 2013-05-23 17:25:52 +00:00
parent 3ead1e4d9e
commit d542e2fb55
3 changed files with 7 additions and 7 deletions

View File

@ -103,10 +103,10 @@ extern int ptt(int nport, int ntx, int* iptt, int* nopen);
#ifdef WIN32 #ifdef WIN32
extern "C" { extern "C" {
const bool HRDInterfaceConnect(const wchar_t *host, const ushort); bool HRDInterfaceConnect(const wchar_t *host, const ushort);
void HRDInterfaceDisconnect(); void HRDInterfaceDisconnect();
const bool HRDInterfaceIsConnected(); bool HRDInterfaceIsConnected();
const wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); wchar_t* HRDInterfaceSendMessage(const wchar_t *msg);
void HRDInterfaceFreeString(const wchar_t *lstring); void HRDInterfaceFreeString(const wchar_t *lstring);
} }
#endif #endif

View File

@ -1,4 +1,4 @@
//-------------------------------------------------------------- MainWindow //------------------------------------------------------------- MainWindow
#include "mainwindow.h" #include "mainwindow.h"
#include "ui_mainwindow.h" #include "ui_mainwindow.h"
#include "devsetup.h" #include "devsetup.h"

View File

@ -81,10 +81,10 @@ public:
#ifdef WIN32 #ifdef WIN32
extern "C" { extern "C" {
const bool HRDInterfaceConnect(const wchar_t *host, const ushort); bool HRDInterfaceConnect(const wchar_t *host, const ushort);
void HRDInterfaceDisconnect(); void HRDInterfaceDisconnect();
const bool HRDInterfaceIsConnected(); bool HRDInterfaceIsConnected();
const wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); wchar_t* HRDInterfaceSendMessage(const wchar_t *msg);
void HRDInterfaceFreeString(const wchar_t *lstring); void HRDInterfaceFreeString(const wchar_t *lstring);
} }
#endif #endif