Mercurial > pidgin
comparison plugins/tcl/tcl_gaim.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 | 0e886a234d92 |
children | a84523152a24 |
comparison
equal
deleted
inserted
replaced
12322:c7ae1fd0827d | 12323:fc464a0abccc |
---|---|
46 | 46 |
47 extern GaimPlugin *_tcl_plugin; | 47 extern GaimPlugin *_tcl_plugin; |
48 | 48 |
49 GaimPlugin *tcl_interp_get_plugin(Tcl_Interp *interp); | 49 GaimPlugin *tcl_interp_get_plugin(Tcl_Interp *interp); |
50 | 50 |
51 void tcl_signal_init(); | 51 void tcl_signal_init(void); |
52 void tcl_signal_handler_free(struct tcl_signal_handler *handler); | 52 void tcl_signal_handler_free(struct tcl_signal_handler *handler); |
53 void tcl_signal_cleanup(Tcl_Interp *interp); | 53 void tcl_signal_cleanup(Tcl_Interp *interp); |
54 gboolean tcl_signal_connect(struct tcl_signal_handler *handler); | 54 gboolean tcl_signal_connect(struct tcl_signal_handler *handler); |
55 void tcl_signal_disconnect(void *instance, const char *signal, Tcl_Interp *interp); | 55 void tcl_signal_disconnect(void *instance, const char *signal, Tcl_Interp *interp); |
56 | 56 |