Mercurial > pidgin.yaz
comparison src/mediastreamer/mstimer.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 |
---|---|
61 /* casts a MSSync object into a MSTimer */ | 61 /* casts a MSSync object into a MSTimer */ |
62 #define MS_TIMER(sync) ((MSTimer*)(sync)) | 62 #define MS_TIMER(sync) ((MSTimer*)(sync)) |
63 /* casts a MSSync class into a MSTimer class */ | 63 /* casts a MSSync class into a MSTimer class */ |
64 #define MS_TIMER_CLASS(klass) ((MSTimerClass*)(klass)) | 64 #define MS_TIMER_CLASS(klass) ((MSTimerClass*)(klass)) |
65 | 65 |
66 MSSync *ms_timer_new(); | 66 MSSync *ms_timer_new(void); |
67 | 67 |
68 #endif | 68 #endif |