Module: sems Branch: master Commit: 0df63e04e5b0d4fedb3b2036042c7dc589f3933e URL: http://git.sip-router.org/cgi-bin/gitweb.cgi/sems/?a=commit;h=0df63e04e5b0d4fedb3b2036042c7dc589f3933e
Author: Stefan Sayer <[email protected]> Committer: Stefan Sayer <[email protected]> Date: Thu Feb 24 14:37:32 2011 +0100 fix some class/struct fwd decl mismatches --- core/AmAudio.h | 4 ++-- core/AmRtpStream.h | 2 +- core/hash_table.h | 2 +- core/sip/sip_parser.h | 2 +- core/sip/sip_trans.h | 2 +- core/sip/trans_layer.h | 2 +- core/sip/wheeltimer.h | 2 +- 7 files changed, 8 insertions(+), 8 deletions(-) diff --git a/core/AmAudio.h b/core/AmAudio.h index b377bbe..b9ce763 100644 --- a/core/AmAudio.h +++ b/core/AmAudio.h @@ -49,8 +49,8 @@ using std::string; #define SYSTEM_SAMPLERATE 8000 // fixme: sr per session -class SdpPayload; -class CodecContainer; +struct SdpPayload; +struct CodecContainer; /** \brief Audio Event */ class AmAudioEvent: public AmEvent diff --git a/core/AmRtpStream.h b/core/AmRtpStream.h index 76afa84..497a621 100644 --- a/core/AmRtpStream.h +++ b/core/AmRtpStream.h @@ -58,7 +58,7 @@ struct amci_payload_t; class AmAudio; class AmSession; -class SdpPayload; +struct SdpPayload; typedef std::map<unsigned int, AmRtpPacket*, ts_less> ReceiveBuffer; typedef std::queue<AmRtpPacket*> RtpEventQueue; diff --git a/core/hash_table.h b/core/hash_table.h index 468b092..7a59d5d 100644 --- a/core/hash_table.h +++ b/core/hash_table.h @@ -39,7 +39,7 @@ using std::list; using std::map; -struct sip_trans; +class sip_trans; struct sip_msg; diff --git a/core/sip/sip_parser.h b/core/sip/sip_parser.h index 05d3b30..2b8cc5e 100644 --- a/core/sip/sip_parser.h +++ b/core/sip/sip_parser.h @@ -45,7 +45,7 @@ struct sip_reply; struct sip_header; struct sip_via_parm; struct dns_handle; -struct trsp_socket; +class trsp_socket; // // SIP message types: diff --git a/core/sip/sip_trans.h b/core/sip/sip_trans.h index d2d2df6..5ffd895 100644 --- a/core/sip/sip_trans.h +++ b/core/sip/sip_trans.h @@ -35,7 +35,7 @@ #include <sys/socket.h> struct sip_msg; -struct trsp_socket; +class trsp_socket; /** * Transaction types diff --git a/core/sip/trans_layer.h b/core/sip/trans_layer.h index 17cbce9..e5d72a2 100644 --- a/core/sip/trans_layer.h +++ b/core/sip/trans_layer.h @@ -40,7 +40,7 @@ using std::vector; struct sip_msg; struct sip_uri; -struct sip_trans; +class sip_trans; struct sip_header; struct sockaddr_storage; diff --git a/core/sip/wheeltimer.h b/core/sip/wheeltimer.h index fb00a49..6f1087b 100644 --- a/core/sip/wheeltimer.h +++ b/core/sip/wheeltimer.h @@ -43,7 +43,7 @@ // do not change #define WHEELS 4 -struct timer; +class timer; typedef void (*timer_cb)(timer*,unsigned int /*data1*/,void* /*data2*/); class base_timer _______________________________________________ Semsdev mailing list [email protected] http://lists.iptel.org/mailman/listinfo/semsdev
