Mercurial > pidgin
comparison src/protocols/msn/object.c @ 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 | 77ef3f2f0df8 |
| children | 852b32710df0 |
comparison
equal
deleted
inserted
replaced
| 12322:c7ae1fd0827d | 12323:fc464a0abccc |
|---|---|
| 274 g_return_val_if_fail(obj != NULL, NULL); | 274 g_return_val_if_fail(obj != NULL, NULL); |
| 275 | 275 |
| 276 return obj->sha1c; | 276 return obj->sha1c; |
| 277 } | 277 } |
| 278 | 278 |
| 279 MsnObject * | 279 static MsnObject * |
| 280 msn_object_find_local(const char *sha1c) | 280 msn_object_find_local(const char *sha1c) |
| 281 { | 281 { |
| 282 GList *l; | 282 GList *l; |
| 283 | 283 |
| 284 g_return_val_if_fail(sha1c != NULL, NULL); | 284 g_return_val_if_fail(sha1c != NULL, NULL); |
