Fix some warnings

This commit is contained in:
Gioacchino Mazzurco 2018-01-22 15:02:33 +01:00
parent 9c68bcbca4
commit 443ffb9f85
14 changed files with 14 additions and 14 deletions

View File

@ -30,7 +30,7 @@
typedef RsPeerId ChatLobbyVirtualPeerId ; typedef RsPeerId ChatLobbyVirtualPeerId ;
class RsItem ; struct RsItem;
class p3HistoryMgr ; class p3HistoryMgr ;
class p3IdService ; class p3IdService ;
class p3ServiceControl; class p3ServiceControl;

View File

@ -34,7 +34,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <grouter/grouteritems.h> #include <grouter/grouteritems.h>
class RsItem ; struct RsItem;
static const uint32_t GROUTER_CLIENT_SERVICE_DATA_STATUS_UNKNOWN = 0x0000 ; // unused. static const uint32_t GROUTER_CLIENT_SERVICE_DATA_STATUS_UNKNOWN = 0x0000 ; // unused.
static const uint32_t GROUTER_CLIENT_SERVICE_DATA_STATUS_RECEIVED = 0x0001 ; // sent when data has been received and a receipt is available. static const uint32_t GROUTER_CLIENT_SERVICE_DATA_STATUS_RECEIVED = 0x0001 ; // sent when data has been received and a receipt is available.

View File

@ -31,7 +31,7 @@
#include "retroshare/rsgrouter.h" #include "retroshare/rsgrouter.h"
#include "groutertypes.h" #include "groutertypes.h"
class RsItem ; struct RsItem;
// The routing matrix records the event clues received from each friend // The routing matrix records the event clues received from each friend
// //

View File

@ -38,7 +38,7 @@
class PQInterface; class PQInterface;
class RSTrafficClue; class RSTrafficClue;
class RsBwRates; class RsBwRates;
class RsItem; struct RsItem;
class RsRawItem; class RsRawItem;
class SearchModule class SearchModule

View File

@ -27,7 +27,7 @@
#include <stddef.h> // for NULL #include <stddef.h> // for NULL
class RsItem; struct RsItem;
/*** /***
#define LOOPBACK_DEBUG 1 #define LOOPBACK_DEBUG 1

View File

@ -31,7 +31,7 @@
#include "pqi/pqi_base.h" // for NetInterface (ptr only), PQInterface #include "pqi/pqi_base.h" // for NetInterface (ptr only), PQInterface
#include "retroshare/rstypes.h" // for RsPeerId #include "retroshare/rstypes.h" // for RsPeerId
class RsItem; struct RsItem;
class pqiloopback: public PQInterface class pqiloopback: public PQInterface
{ {

View File

@ -38,7 +38,7 @@
#include "retroshare/rstypes.h" // for RsPeerId #include "retroshare/rstypes.h" // for RsPeerId
#include "util/rsthreads.h" // for RsMutex #include "util/rsthreads.h" // for RsMutex
class RsItem; struct RsItem;
class RsSerialiser; class RsSerialiser;
struct PartialPacketRecord struct PartialPacketRecord

View File

@ -64,7 +64,7 @@ const uint8_t RS_PKT_CLASS_CONFIG = 0x02;
const uint8_t RS_PKT_SUBTYPE_DEFAULT = 0x01; /* if only one subtype */ const uint8_t RS_PKT_SUBTYPE_DEFAULT = 0x01; /* if only one subtype */
class RsItem ; struct RsItem;
class RsSerialType ; class RsSerialType ;

View File

@ -160,7 +160,7 @@
#include "serialiser/rsserial.h" #include "serialiser/rsserial.h"
#include "util/rsdeprecate.h" #include "util/rsdeprecate.h"
class RsItem ; struct RsItem;
#define SERIALIZE_ERROR() std::cerr << __PRETTY_FUNCTION__ << " : " #define SERIALIZE_ERROR() std::cerr << __PRETTY_FUNCTION__ << " : "

View File

@ -36,7 +36,7 @@
#include <serialiser/rsserial.h> #include <serialiser/rsserial.h>
#include <turtle/rsturtleitem.h> #include <turtle/rsturtleitem.h>
class RsItem ; struct RsItem;
class p3turtle ; class p3turtle ;
class RsTurtleClientService class RsTurtleClientService

View File

@ -4,7 +4,7 @@
#include "retroshare/rsids.h" #include "retroshare/rsids.h"
#include "pqi/p3linkmgr.h" #include "pqi/p3linkmgr.h"
class RsItem; struct RsItem;
class PeerNode; class PeerNode;
class RsSerialType; class RsSerialType;
class RsSerialiser; class RsSerialiser;

View File

@ -4,7 +4,7 @@
#include "retroshare/rsids.h" #include "retroshare/rsids.h"
#include "SetPacket.h" #include "SetPacket.h"
class RsItem; struct RsItem;
class SetFilter class SetFilter
{ {

View File

@ -5,7 +5,7 @@
#include <list> #include <list>
#include "retroshare/rsids.h" #include "retroshare/rsids.h"
class RsItem; struct RsItem;
class SetPacket class SetPacket
{ {

View File

@ -8,7 +8,7 @@
#include "SetPacket.h" #include "SetPacket.h"
#include "SetFilter.h" #include "SetFilter.h"
class RsItem; struct RsItem;
class PeerNode; class PeerNode;
class RsSerialType; class RsSerialType;
class RsSerialiser; class RsSerialiser;