[rtmpdump] r412 - in trunk/librtmp: log.h rtmp.h

hyc subversion at mplayerhq.hu
Mon Mar 29 04:39:31 CEST 2010


Author: hyc
Date: Mon Mar 29 04:39:30 2010
New Revision: 412

Log:
Silence prototype warnings

Modified:
   trunk/librtmp/log.h
   trunk/librtmp/rtmp.h

Modified: trunk/librtmp/log.h
==============================================================================
--- trunk/librtmp/log.h	Sun Mar 28 22:17:00 2010	(r411)
+++ trunk/librtmp/log.h	Mon Mar 29 04:39:30 2010	(r412)
@@ -49,7 +49,7 @@ void RTMP_Log(int level, const char *for
 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
 }

Modified: trunk/librtmp/rtmp.h
==============================================================================
--- trunk/librtmp/rtmp.h	Sun Mar 28 22:17:00 2010	(r411)
+++ trunk/librtmp/rtmp.h	Mon Mar 29 04:39:30 2010	(r412)
@@ -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);


More information about the rtmpdump mailing list