From d542e2fb551772040726718449b870de32c89264 Mon Sep 17 00:00:00 2001 From: Joe Taylor Date: Thu, 23 May 2013 17:25:52 +0000 Subject: [PATCH] Satisfied another compiler warning. git-svn-id: svn+ssh://svn.code.sf.net/p/wsjt/wsjt/branches/wsjtx@3308 ab8295b8-cf94-4d9e-aec4-7959e3be5d79 --- devsetup.h | 6 +++--- mainwindow.cpp | 2 +- rigclass.h | 6 +++--- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/devsetup.h b/devsetup.h index ee5494da0..f72d5757f 100644 --- a/devsetup.h +++ b/devsetup.h @@ -103,10 +103,10 @@ extern int ptt(int nport, int ntx, int* iptt, int* nopen); #ifdef WIN32 extern "C" { - const bool HRDInterfaceConnect(const wchar_t *host, const ushort); + bool HRDInterfaceConnect(const wchar_t *host, const ushort); void HRDInterfaceDisconnect(); - const bool HRDInterfaceIsConnected(); - const wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); + bool HRDInterfaceIsConnected(); + wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); void HRDInterfaceFreeString(const wchar_t *lstring); } #endif diff --git a/mainwindow.cpp b/mainwindow.cpp index a9f9787dc..34a49286d 100644 --- a/mainwindow.cpp +++ b/mainwindow.cpp @@ -1,4 +1,4 @@ -//-------------------------------------------------------------- MainWindow +//------------------------------------------------------------- MainWindow #include "mainwindow.h" #include "ui_mainwindow.h" #include "devsetup.h" diff --git a/rigclass.h b/rigclass.h index b882bcf29..a11d4b85e 100644 --- a/rigclass.h +++ b/rigclass.h @@ -81,10 +81,10 @@ public: #ifdef WIN32 extern "C" { - const bool HRDInterfaceConnect(const wchar_t *host, const ushort); + bool HRDInterfaceConnect(const wchar_t *host, const ushort); void HRDInterfaceDisconnect(); - const bool HRDInterfaceIsConnected(); - const wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); + bool HRDInterfaceIsConnected(); + wchar_t* HRDInterfaceSendMessage(const wchar_t *msg); void HRDInterfaceFreeString(const wchar_t *lstring); } #endif