Mercurial > pidgin
diff src/mediastreamer/mscodec.h @ 12323:fc464a0abccc
[gaim-migrate @ 14627]
Function prototypes need to be of the form foo(void); instead of foo(); for function that don't take any arguments. This allows the compiler to detect mistakes were someone passes arguments to such a function.
committer: Tailor Script <tailor@pidgin.im>
| author | Richard Laager <rlaager@wiktel.com> |
|---|---|
| date | Sun, 04 Dec 2005 18:19:56 +0000 |
| parents | e67993da8a22 |
| children |
line wrap: on
line diff
--- a/src/mediastreamer/mscodec.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/mscodec.h Sun Dec 04 18:19:56 2005 +0000 @@ -52,15 +52,15 @@ /* return 0 if codec can be used with bandwidth, -1 else*/ int ms_codec_is_usable(MSCodecInfo *codec,double bandwidth); -GList * ms_codec_get_all_audio(); +GList * ms_codec_get_all_audio(void); -GList * ms_codec_get_all_video(); +GList * ms_codec_get_all_video(void); MSCodecInfo * ms_audio_codec_info_get(gchar *name); MSCodecInfo * ms_video_codec_info_get(gchar *name); /* register all statically linked codecs */ -void ms_codec_register_all(); +void ms_codec_register_all(void); #define MS_CODEC_INFO(codinfo) ((MSCodecInfo*)codinfo)
