Mercurial > pidgin.yaz
diff src/cipher.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 | 8dca96cbcd64 |
| children | cfc808463763 |
line wrap: on
line diff
--- a/src/cipher.h Sun Dec 04 18:19:06 2005 +0000 +++ b/src/cipher.h Sun Dec 04 18:19:56 2005 +0000 @@ -185,7 +185,7 @@ * @return The list of available ciphers * @note This list should not be modified, it is owned by the cipher core */ -GList *gaim_ciphers_get_ciphers(); +GList *gaim_ciphers_get_ciphers(void); /*@}*/ /******************************************************************************/ @@ -198,17 +198,17 @@ * * @return The handle to the cipher subsystem */ -gpointer gaim_ciphers_get_handle(); +gpointer gaim_ciphers_get_handle(void); /** * Initializes the cipher core */ -void gaim_ciphers_init(); +void gaim_ciphers_init(void); /** * Uninitializes the cipher core */ -void gaim_ciphers_uninit(); +void gaim_ciphers_uninit(void); /*@}*/ /******************************************************************************/
