diff --git a/Makefile.am b/Makefile.am index 97910ec6..71a9ad2e 100644 --- a/Makefile.am +++ b/Makefile.am @@ -11,7 +11,7 @@ profanity_SOURCES = src/command.c src/contact.c src/history.c src/jabber.h \ src/muc.h src/stanza.c src/stanza.h src/parser.c src/parser.h \ src/theme.c src/theme.h src/window.c src/window.h src/xdg_base.c \ src/xdg_base.h src/files.c src/files.h src/accounts.c src/accounts.h \ - src/jid.h src/jid.c src/capabilities.h src/capabilities.c src/iq.h src/iq.c + src/jid.h src/jid.c src/capabilities.h src/capabilities.c src/iq.c TESTS = tests/testsuite check_PROGRAMS = tests/testsuite diff --git a/src/connection.c b/src/connection.c index cf289314..f9323dd2 100644 --- a/src/connection.c +++ b/src/connection.c @@ -30,7 +30,6 @@ #include "chat_session.h" #include "common.h" #include "contact_list.h" -#include "iq.h" #include "jabber.h" #include "jid.h" #include "log.h" diff --git a/src/iq.h b/src/iq.h deleted file mode 100644 index f24bf023..00000000 --- a/src/iq.h +++ /dev/null @@ -1,31 +0,0 @@ -/* - * iq.h - * - * Copyright (C) 2012, 2013 James Booth - * - * This file is part of Profanity. - * - * Profanity is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * Profanity is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with Profanity. If not, see . - * - */ - -#ifndef IQ_H -#define IQ_H - -#include - -int iq_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, - void * const userdata); - -#endif diff --git a/src/jabber.h b/src/jabber.h index 02e540fc..2601e018 100644 --- a/src/jabber.h +++ b/src/jabber.h @@ -84,4 +84,7 @@ void jabber_free_resources(void); void jabber_restart(void); void jabber_set_autoping(int seconds); +int iq_handler(xmpp_conn_t * const conn, xmpp_stanza_t * const stanza, + void * const userdata); + #endif