comparison src/protocols/sametime/meanwhile/mw_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 a2ebf585d8c6
children
comparison
equal deleted inserted replaced
12322:c7ae1fd0827d 12323:fc464a0abccc
76 /** service this cipher is providing for 76 /** service this cipher is providing for
77 @see mwCipher_getSession */ 77 @see mwCipher_getSession */
78 struct mwSession *session; 78 struct mwSession *session;
79 79
80 guint16 type; /**< @see mwCipher_getType */ 80 guint16 type; /**< @see mwCipher_getType */
81 const char *(*get_name)(); /**< @see mwCipher_getName */ 81 const char *(*get_name)(void); /**< @see mwCipher_getName */
82 const char *(*get_desc)(); /**< @see mwCipher_getDesc */ 82 const char *(*get_desc)(void); /**< @see mwCipher_getDesc */
83 83
84 /** Generate a new Cipher Instance for use on a channel 84 /** Generate a new Cipher Instance for use on a channel
85 @see mwCipher_newInstance */ 85 @see mwCipher_newInstance */
86 mwCipherInstantiator new_instance; 86 mwCipherInstantiator new_instance;
87 87
250 /** @struct mwMpi */ 250 /** @struct mwMpi */
251 struct mwMpi; 251 struct mwMpi;
252 252
253 253
254 /** prepare a new mpi value */ 254 /** prepare a new mpi value */
255 struct mwMpi *mwMpi_new(); 255 struct mwMpi *mwMpi_new(void);
256 256
257 257
258 /** destroy an mpi value */ 258 /** destroy an mpi value */
259 void mwMpi_free(struct mwMpi *i); 259 void mwMpi_free(struct mwMpi *i);
260 260