about summary refs log tree commit diff stats
path: root/tests/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2014-02-16 19:14:15 +0000
committerJames Booth <boothj5@gmail.com>2014-02-16 19:14:15 +0000
commita21ab6d4c8d9de9abce9dddd1d23668779ca15e7 (patch)
treeb54b2d20afebe91e9e12bf2ae2edfbf4bbd274e8 /tests/config
parent6ef1174bf44f34f269b42889d12ea322f0a0d400 (diff)
downloadprofani-tty-a21ab6d4c8d9de9abce9dddd1d23668779ca15e7.tar.gz
Mock otr module for cmd_otr tests
Diffstat (limited to 'tests/config')
-rw-r--r--tests/config/mock_accounts.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/config/mock_accounts.h b/tests/config/mock_accounts.h
index f70be745..ee36f5ed 100644
--- a/tests/config/mock_accounts.h
+++ b/tests/config/mock_accounts.h
@@ -20,6 +20,9 @@
  *
  */
 
+#ifndef MOCK_ACCOUNTS_H
+#define MOCK_ACCOUNTS_H
+
 void mock_accounts_get_account(void);
 void accounts_get_account_expect_and_return(const char * const name, ProfAccount *account);
 void accounts_get_account_return(ProfAccount *account);
@@ -85,3 +88,5 @@ void accounts_set_login_presence_expect(char *account_name, char *presence);
 
 void mock_accounts_get_last_presence(void);
 void accounts_get_last_presence_return(resource_presence_t presence);
+
+#endif