Mercurial > pidgin.yaz
comparison src/mediastreamer/msvideosource.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 |
comparison
equal
deleted
inserted
replaced
12322:c7ae1fd0827d | 12323:fc464a0abccc |
---|---|
52 void (*set_size)(MSVideoSource *s, gint width, gint height); | 52 void (*set_size)(MSVideoSource *s, gint width, gint height); |
53 void (*set_frame_rate)(MSVideoSource *s, gint frame_rate, gint frame_rate_base); | 53 void (*set_frame_rate)(MSVideoSource *s, gint frame_rate, gint frame_rate_base); |
54 } MSVideoSourceClass; | 54 } MSVideoSourceClass; |
55 | 55 |
56 /* PUBLIC */ | 56 /* PUBLIC */ |
57 void ms_video_source_register_all(); | 57 void ms_video_source_register_all(void); |
58 int ms_video_source_set_device(MSVideoSource *f, const gchar *device); | 58 int ms_video_source_set_device(MSVideoSource *f, const gchar *device); |
59 gchar* ms_video_source_get_device_name(MSVideoSource *f); | 59 gchar* ms_video_source_get_device_name(MSVideoSource *f); |
60 void ms_video_source_start(MSVideoSource *f); | 60 void ms_video_source_start(MSVideoSource *f); |
61 void ms_video_source_stop(MSVideoSource *f); | 61 void ms_video_source_stop(MSVideoSource *f); |
62 void ms_video_source_set_size(MSVideoSource *f, gint width, gint height); | 62 void ms_video_source_set_size(MSVideoSource *f, gint width, gint height); |