Mercurial > pidgin
diff src/mediastreamer/msv4l.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/msv4l.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/mediastreamer/msv4l.h Sun Dec 04 18:19:56 2005 +0000 @@ -71,7 +71,7 @@ /* PUBLIC API */ #define MS_V4L(v) ((MSV4l*)(v)) #define MS_V4L_CLASS(k) ((MSV4lClass*)(k)) -MSFilter * ms_v4l_new(); +MSFilter * ms_v4l_new(void); void ms_v4l_start(MSV4l *obj); void ms_v4l_stop(MSV4l *obj);