Mercurial > pidgin
comparison src/protocols/sametime/meanwhile/mw_common.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 | a2ebf585d8c6 |
children |
comparison
equal
deleted
inserted
replaced
12322:c7ae1fd0827d | 12323:fc464a0abccc |
---|---|
217 /** @name buffer utility functions */ | 217 /** @name buffer utility functions */ |
218 /*@{*/ | 218 /*@{*/ |
219 | 219 |
220 | 220 |
221 /** allocate a new empty buffer */ | 221 /** allocate a new empty buffer */ |
222 struct mwPutBuffer *mwPutBuffer_new(); | 222 struct mwPutBuffer *mwPutBuffer_new(void); |
223 | 223 |
224 | 224 |
225 /** write raw data to the put buffer */ | 225 /** write raw data to the put buffer */ |
226 void mwPutBuffer_write(struct mwPutBuffer *b, gpointer data, gsize len); | 226 void mwPutBuffer_write(struct mwPutBuffer *b, gpointer data, gsize len); |
227 | 227 |