Mercurial > pidgin.yaz
comparison src/savedstatuses.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 | 465ddcb3e9e8 |
children | 473c23442a36 |
comparison
equal
deleted
inserted
replaced
12322:c7ae1fd0827d | 12323:fc464a0abccc |
---|---|
154 /** | 154 /** |
155 * Returns the currently selected saved status. | 155 * Returns the currently selected saved status. |
156 * | 156 * |
157 * @return A pointer to the in-use GaimSavedStatus. | 157 * @return A pointer to the in-use GaimSavedStatus. |
158 */ | 158 */ |
159 GaimSavedStatus *gaim_savedstatus_get_current(); | 159 GaimSavedStatus *gaim_savedstatus_get_current(void); |
160 | 160 |
161 /** | 161 /** |
162 * Returns the saved status that gets used when your | 162 * Returns the saved status that gets used when your |
163 * accounts become idle-away. | 163 * accounts become idle-away. |
164 * | 164 * |
165 * @return A pointer to the idle-away GaimSavedStatus. | 165 * @return A pointer to the idle-away GaimSavedStatus. |
166 */ | 166 */ |
167 GaimSavedStatus *gaim_savedstatus_get_idleaway(); | 167 GaimSavedStatus *gaim_savedstatus_get_idleaway(void); |
168 | 168 |
169 /** | 169 /** |
170 * Finds a saved status with the specified title. | 170 * Finds a saved status with the specified title. |
171 * | 171 * |
172 * @param title The name of the saved status. | 172 * @param title The name of the saved status. |
304 /** | 304 /** |
305 * Get the handle for the status subsystem. | 305 * Get the handle for the status subsystem. |
306 * | 306 * |
307 * @return the handle to the status subsystem | 307 * @return the handle to the status subsystem |
308 */ | 308 */ |
309 void *gaim_savedstatuses_get_handle(); | 309 void *gaim_savedstatuses_get_handle(void); |
310 | 310 |
311 /** | 311 /** |
312 * Initializes the status subsystem. | 312 * Initializes the status subsystem. |
313 */ | 313 */ |
314 void gaim_savedstatuses_init(void); | 314 void gaim_savedstatuses_init(void); |