Mercurial > pidgin
comparison src/mediastreamer/msnosync.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 |
---|---|
55 /* casts a MSSync object into a MSNoSync */ | 55 /* casts a MSSync object into a MSNoSync */ |
56 #define MS_NOSYNC(sync) ((MSNoSync*)(sync)) | 56 #define MS_NOSYNC(sync) ((MSNoSync*)(sync)) |
57 /* casts a MSSync class into a MSNoSync class */ | 57 /* casts a MSSync class into a MSNoSync class */ |
58 #define MS_NOSYNC_CLASS(klass) ((MSNoSyncClass*)(klass)) | 58 #define MS_NOSYNC_CLASS(klass) ((MSNoSyncClass*)(klass)) |
59 | 59 |
60 MSSync *ms_nosync_new(); | 60 MSSync *ms_nosync_new(void); |