Code

conf: include cleanup
authorMax Kellermann <max@duempel.org>
Mon, 14 Jul 2014 09:16:36 +0000 (11:16 +0200)
committerMax Kellermann <max@duempel.org>
Mon, 14 Jul 2014 09:21:24 +0000 (11:21 +0200)
src/conf.c
src/conf.h

index 0f7a494ed969d9f0c091338e5d3980f38e788acd..1f1f0bc39f0754b3cd847b2f327ffc6b04ab85db 100644 (file)
 #include "command.h"
 #include "colors.h"
 #include "screen_list.h"
+#include "options.h"
 
 #include <assert.h>
 #include <ctype.h>
 #include <stdio.h>
 #include <errno.h>
 #include <stdlib.h>
-#include <unistd.h>
 #include <string.h>
-#include <fcntl.h>
 #include <glib.h>
 #include <glib/gstdio.h>
 
index 89f80fc3b6b0d27d4484865675c22ea67dbe6416..a9503ad3821834d2432577263d96744890c6d0a4 100644 (file)
@@ -17,8 +17,6 @@
  * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
  */
 
-#include "options.h"
-
 int check_user_conf_dir(void);
 
 char *build_user_conf_filename(void);