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:
Michael Jerris
2006-02-24 00:02:02 +00:00
parent 01fd1c3af4
commit dbdad46049
4 changed files with 7 additions and 6 deletions
+1
View File
@@ -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
+1 -1
View File
@@ -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