From: hyc Date: Mon, 29 Mar 2010 02:39:30 +0000 (+0000) Subject: Silence prototype warnings X-Git-Tag: v2.4~133 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=5bafb8fa33fcbff6e2c15376f6613628aea95ca2;p=rtmpdump Silence prototype warnings git-svn-id: svn://svn.mplayerhq.hu/rtmpdump/trunk@412 400ebc74-4327-4243-bc38-086b20814532 --- diff --git a/librtmp/log.h b/librtmp/log.h index 6f9dcb3..e05b5ab 100644 --- a/librtmp/log.h +++ b/librtmp/log.h @@ -49,7 +49,7 @@ void RTMP_Log(int level, const char *format, ...); void RTMP_LogHex(int level, const char *data, unsigned long len); void RTMP_LogHexString(int level, const char *data, unsigned long len); void RTMP_LogSetLevel(RTMP_LogLevel lvl); -RTMP_LogLevel RTMP_LogGetLevel(); +RTMP_LogLevel RTMP_LogGetLevel(void); #ifdef __cplusplus } diff --git a/librtmp/rtmp.h b/librtmp/rtmp.h index f018efa..fa858cc 100644 --- a/librtmp/rtmp.h +++ b/librtmp/rtmp.h @@ -63,7 +63,7 @@ extern "C" extern const AVal RTMP_DefaultFlashVer; extern bool RTMP_ctrlC; - uint32_t RTMP_GetTime(); + uint32_t RTMP_GetTime(void); #define RTMP_PACKET_TYPE_AUDIO 0x08 #define RTMP_PACKET_TYPE_VIDEO 0x09 @@ -284,8 +284,8 @@ extern "C" void RTMP_Init(RTMP *r); void RTMP_Close(RTMP *r); - int RTMP_LibVersion(); - void RTMP_UserInterrupt(); /* user typed Ctrl-C */ + int RTMP_LibVersion(void); + void RTMP_UserInterrupt(void); /* user typed Ctrl-C */ bool RTMP_SendCtrl(RTMP *r, short nType, unsigned int nObject, unsigned int nTime);