mirror of
https://github.com/signalwire/freeswitch.git
synced 2026-07-24 05:02:10 +00:00
fix msvc compile. Cleanup some warnings.
git-svn-id: http://svn.freeswitch.org/svn/freeswitch/trunk@660 d0543943-73ff-0310-b7d9-9358b9ac24b2
This commit is contained in:
@@ -113,6 +113,7 @@ typedef unsigned long in_addr_t;
|
||||
#else
|
||||
#define SWITCH_MOD_DECLARE(type) __declspec(dllimport) type __cdecl
|
||||
#endif
|
||||
#define SIGHUP SIGTERM
|
||||
#else //not win32
|
||||
#define SWITCH_DECLARE(type) type
|
||||
#define SWITCH_DECLARE_NONSTD(type) type
|
||||
|
||||
@@ -79,7 +79,7 @@ SWITCH_DECLARE(char) switch_rfc2833_to_char(int event);
|
||||
\param the charecter to encode
|
||||
\return the event id for the specified character or -1 on an invalid input
|
||||
*/
|
||||
SWITCH_DECLARE(int) switch_char_to_rfc2833(char key);
|
||||
SWITCH_DECLARE(unsigned char) switch_char_to_rfc2833(char key);
|
||||
|
||||
/*!
|
||||
\brief Duplicate a string
|
||||
|
||||
Reference in New Issue
Block a user