diff options
| author | James Booth <boothj5@gmail.com> | 2016-07-24 14:59:28 +0100 |
|---|---|---|
| committer | James Booth <boothj5@gmail.com> | 2016-07-24 14:59:28 +0100 |
| commit | 1c5efaeb58f40122e6c860a6785c0b99496af8d6 (patch) | |
| tree | e6033b8ded69e8386027908e30c1f8a77abf7691 | |
| parent | c23506f453c36c9133d1f176624541ef84385ced (diff) | |
| download | profani-tty-1c5efaeb58f40122e6c860a6785c0b99496af8d6.tar.gz | |
Moved jid.c
| -rw-r--r-- | Makefile.am | 4 | ||||
| -rw-r--r-- | src/command/cmd_defs.c | 2 | ||||
| -rw-r--r-- | src/command/cmd_funcs.c | 2 | ||||
| -rw-r--r-- | src/config/account.c | 2 | ||||
| -rw-r--r-- | src/config/accounts.c | 2 | ||||
| -rw-r--r-- | src/muc.c | 2 | ||||
| -rw-r--r-- | src/muc.h | 2 | ||||
| -rw-r--r-- | src/roster_list.c | 2 | ||||
| -rw-r--r-- | src/ui/core.c | 2 | ||||
| -rw-r--r-- | src/xmpp/jid.c (renamed from src/jid.c) | 0 | ||||
| -rw-r--r-- | src/xmpp/jid.h (renamed from src/jid.h) | 4 | ||||
| -rw-r--r-- | tests/unittests/test_jid.c | 4 |
12 files changed, 14 insertions, 14 deletions
diff --git a/Makefile.am b/Makefile.am index 263161a2..cbfe82c5 100644 --- a/Makefile.am +++ b/Makefile.am @@ -2,7 +2,7 @@ core_sources = \ src/xmpp/contact.c src/xmpp/contact.h src/log.c src/common.c \ src/log.h src/profanity.c src/common.h \ src/profanity.h src/xmpp/chat_session.c \ - src/xmpp/chat_session.h src/muc.c src/muc.h src/jid.h src/jid.c \ + src/xmpp/chat_session.h src/muc.c src/muc.h src/xmpp/jid.h src/xmpp/jid.c \ src/xmpp/chat_state.h src/xmpp/chat_state.c \ src/resource.c src/resource.h \ src/roster_list.c src/roster_list.h \ @@ -60,7 +60,7 @@ unittest_sources = \ src/xmpp/contact.c src/xmpp/contact.h src/common.c \ src/log.h src/profanity.c src/common.h \ src/profanity.h src/xmpp/chat_session.c \ - src/xmpp/chat_session.h src/muc.c src/muc.h src/jid.h src/jid.c \ + src/xmpp/chat_session.h src/muc.c src/muc.h src/xmpp/jid.h src/xmpp/jid.c \ src/resource.c src/resource.h \ src/xmpp/chat_state.h src/xmpp/chat_state.c \ src/roster_list.c src/roster_list.h \ diff --git a/src/command/cmd_defs.c b/src/command/cmd_defs.c index d390a64a..852a3cf8 100644 --- a/src/command/cmd_defs.c +++ b/src/command/cmd_defs.c @@ -60,7 +60,7 @@ #include "config/scripts.h" #include "xmpp/contact.h" #include "roster_list.h" -#include "jid.h" +#include "xmpp/jid.h" #include "log.h" #include "muc.h" #include "plugins/plugins.h" diff --git a/src/command/cmd_funcs.c b/src/command/cmd_funcs.c index f661e6a9..b9f9cb14 100644 --- a/src/command/cmd_funcs.c +++ b/src/command/cmd_funcs.c @@ -62,7 +62,7 @@ #include "config/scripts.h" #include "xmpp/contact.h" #include "roster_list.h" -#include "jid.h" +#include "xmpp/jid.h" #include "log.h" #include "muc.h" #ifdef HAVE_LIBOTR diff --git a/src/config/account.c b/src/config/account.c index 14751081..0a2c9132 100644 --- a/src/config/account.c +++ b/src/config/account.c @@ -38,7 +38,7 @@ #include <glib.h> -#include "jid.h" +#include "xmpp/jid.h" #include "config/account.h" #include "common.h" #include "log.h" diff --git a/src/config/accounts.c b/src/config/accounts.c index aa3dfbb0..c504b5d3 100644 --- a/src/config/accounts.c +++ b/src/config/accounts.c @@ -43,7 +43,7 @@ #include "common.h" #include "config/account.h" #include "config/conflists.h" -#include "jid.h" +#include "xmpp/jid.h" #include "log.h" #include "tools/autocomplete.h" #include "xmpp/xmpp.h" @@ -40,7 +40,7 @@ #include "xmpp/contact.h" #include "common.h" -#include "jid.h" +#include "xmpp/jid.h" #include "tools/autocomplete.h" #include "ui/ui.h" #include "window_list.h" @@ -38,7 +38,7 @@ #include <glib.h> #include "xmpp/contact.h" -#include "jid.h" +#include "xmpp/jid.h" #include "tools/autocomplete.h" #include "ui/win_types.h" diff --git a/src/roster_list.c b/src/roster_list.c index 4044a09e..816eed27 100644 --- a/src/roster_list.c +++ b/src/roster_list.c @@ -42,7 +42,7 @@ #include "roster_list.h" #include "resource.h" #include "xmpp/contact.h" -#include "jid.h" +#include "xmpp/jid.h" #include "tools/autocomplete.h" #include "config/preferences.h" diff --git a/src/ui/core.c b/src/ui/core.c index a1b14904..d90d1aa6 100644 --- a/src/ui/core.c +++ b/src/ui/core.c @@ -62,7 +62,7 @@ #include "config/theme.h" #include "xmpp/contact.h" #include "roster_list.h" -#include "jid.h" +#include "xmpp/jid.h" #include "log.h" #include "muc.h" #ifdef HAVE_LIBOTR diff --git a/src/jid.c b/src/xmpp/jid.c index 1fe5d8f5..1fe5d8f5 100644 --- a/src/jid.c +++ b/src/xmpp/jid.c diff --git a/src/jid.h b/src/xmpp/jid.h index d74a6d3f..d82c3add 100644 --- a/src/jid.h +++ b/src/xmpp/jid.h @@ -32,8 +32,8 @@ * */ -#ifndef JID_H -#define JID_H +#ifndef XMPP_JID_H +#define XMPP_JID_H #include <glib.h> diff --git a/tests/unittests/test_jid.c b/tests/unittests/test_jid.c index ff5f4c9a..b7f6ea22 100644 --- a/tests/unittests/test_jid.c +++ b/tests/unittests/test_jid.c @@ -4,7 +4,7 @@ #include <cmocka.h> #include <stdlib.h> -#include "jid.h" +#include "xmpp/jid.h" void create_jid_from_null_returns_null(void **state) { @@ -182,4 +182,4 @@ void returns_barejid_when_fulljid_not_exists(void **state) char *result = jid_fulljid_or_barejid(jid); assert_string_equal("localpart@domainpart", result); -}
\ No newline at end of file +} |