mirror of
https://github.com/irssi/irssi.git
synced 2026-08-19 08:32:07 +02:00
- Compiling fixes
- GNOME version isn't anymore build here so you don't need all that GTK and GNOME crap to compile irssi-text. - Some fixes to compile with -ansi -pedantic git-svn-id: http://svn.irssi.org/repos/irssi/trunk@200 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
parent
90ff30fcd0
commit
93d6032151
34 changed files with 524 additions and 535 deletions
|
|
@ -310,7 +310,7 @@ char *cmd_get_callfuncs(const char *data, int *count, va_list *args)
|
|||
|
||||
ret = g_strdup(data);
|
||||
for (tmp = cmdget_funcs; tmp != NULL; tmp = tmp->next) {
|
||||
func = tmp->data;
|
||||
func = (CMD_GET_FUNC) tmp->data;
|
||||
|
||||
old = ret;
|
||||
ret = func(ret, count, args);
|
||||
|
|
@ -361,12 +361,12 @@ char *cmd_get_params(const char *data, int count, ...)
|
|||
|
||||
void cmd_get_add_func(CMD_GET_FUNC func)
|
||||
{
|
||||
cmdget_funcs = g_slist_prepend(cmdget_funcs, func);
|
||||
cmdget_funcs = g_slist_prepend(cmdget_funcs, (void *) func);
|
||||
}
|
||||
|
||||
void cmd_get_remove_func(CMD_GET_FUNC func)
|
||||
{
|
||||
cmdget_funcs = g_slist_prepend(cmdget_funcs, func);
|
||||
cmdget_funcs = g_slist_prepend(cmdget_funcs, (void *) func);
|
||||
}
|
||||
|
||||
static void parse_outgoing(const char *line, SERVER_REC *server, void *item)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue