about summary refs log tree commit diff stats
path: root/src/config
diff options
context:
space:
mode:
authorJames Booth <boothj5@gmail.com>2016-07-24 15:43:51 +0100
committerJames Booth <boothj5@gmail.com>2016-07-24 15:43:51 +0100
commit0a57c4de78f8a3cd4efb631a79b000b42f16fc15 (patch)
tree39b0597b73f42f018b0006a1816cd76f56213e64 /src/config
parent5bc38b6bc2bdf135d7f483c204ce75a51a7126b5 (diff)
downloadprofani-tty-0a57c4de78f8a3cd4efb631a79b000b42f16fc15.tar.gz
Tidy headers
Diffstat (limited to 'src/config')
-rw-r--r--src/config/account.c4
-rw-r--r--src/config/accounts.c4
-rw-r--r--src/config/scripts.c2
-rw-r--r--src/config/theme.c1
-rw-r--r--src/config/tlscerts.c2
-rw-r--r--src/config/tlscerts.h2
6 files changed, 9 insertions, 6 deletions
diff --git a/src/config/account.c b/src/config/account.c
index 0a2c9132..879759f5 100644
--- a/src/config/account.c
+++ b/src/config/account.c
@@ -38,10 +38,10 @@
 
 #include <glib.h>
 
-#include "xmpp/jid.h"
-#include "config/account.h"
 #include "common.h"
 #include "log.h"
+#include "config/account.h"
+#include "xmpp/jid.h"
 
 ProfAccount*
 account_new(const gchar *const name, const gchar *const jid,
diff --git a/src/config/accounts.c b/src/config/accounts.c
index c504b5d3..7f852e6f 100644
--- a/src/config/accounts.c
+++ b/src/config/accounts.c
@@ -41,12 +41,12 @@
 #include "accounts.h"
 
 #include "common.h"
+#include "log.h"
 #include "config/account.h"
 #include "config/conflists.h"
-#include "xmpp/jid.h"
-#include "log.h"
 #include "tools/autocomplete.h"
 #include "xmpp/xmpp.h"
+#include "xmpp/jid.h"
 
 static gchar *accounts_loc;
 static GKeyFile *accounts;
diff --git a/src/config/scripts.c b/src/config/scripts.c
index 04c4c1cd..14f05f29 100644
--- a/src/config/scripts.c
+++ b/src/config/scripts.c
@@ -42,9 +42,9 @@
 
 #include "common.h"
 #include "log.h"
-#include "ui/window_list.h"
 #include "command/cmd_defs.h"
 #include "ui/ui.h"
+#include "ui/window_list.h"
 #include "xmpp/xmpp.h"
 
 void
diff --git a/src/config/theme.c b/src/config/theme.c
index 6c47b9f0..0ba9c786 100644
--- a/src/config/theme.c
+++ b/src/config/theme.c
@@ -38,6 +38,7 @@
 #include <string.h>
 
 #include <glib.h>
+
 #ifdef HAVE_NCURSESW_NCURSES_H
 #include <ncursesw/ncurses.h>
 #elif HAVE_NCURSES_H
diff --git a/src/config/tlscerts.c b/src/config/tlscerts.c
index ba59acfc..b51f5ff9 100644
--- a/src/config/tlscerts.c
+++ b/src/config/tlscerts.c
@@ -38,9 +38,9 @@
 #include <glib.h>
 #include <glib/gstdio.h>
 
-#include "config/tlscerts.h"
 #include "log.h"
 #include "common.h"
+#include "config/tlscerts.h"
 #include "tools/autocomplete.h"
 
 static gchar *tlscerts_loc;
diff --git a/src/config/tlscerts.h b/src/config/tlscerts.h
index 0001fc28..76b2a344 100644
--- a/src/config/tlscerts.h
+++ b/src/config/tlscerts.h
@@ -35,6 +35,8 @@
 #ifndef CONFIG_TLSCERTS_H
 #define CONFIG_TLSCERTS_H
 
+#include <glib.h>
+
 typedef struct tls_cert_t {
     int version;
     char *serialnumber;