kmscon: move kmscon_main.h to kmscon_conf.h
authorDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 10 Oct 2012 19:23:38 +0000 (21:23 +0200)
committerDavid Herrmann <dh.herrmann@googlemail.com>
Wed, 10 Oct 2012 19:23:38 +0000 (21:23 +0200)
Everything in this header is solely related to configuration parsing so we
should name it properly. We will also move the configuration-handling from
kmscon_main.c to kmscon_conf.c in some of the next commits to clean up
kmscon-main.

Signed-off-by: David Herrmann <dh.herrmann@googlemail.com>
Makefile.am
src/kmscon_conf.h [moved from src/kmscon_main.h with 100% similarity]
src/kmscon_main.c
src/kmscon_terminal.c

index 3ae4a69..8a7b111 100644 (file)
@@ -420,7 +420,7 @@ kmscon_SOURCES = \
        src/kmscon_terminal.c \
        src/kmscon_ui.h \
        src/kmscon_ui.c \
-       src/kmscon_main.h \
+       src/kmscon_conf.h \
        src/kmscon_main.c
 kmscon_CPPFLAGS = \
        $(AM_CPPFLAGS) \
similarity index 100%
rename from src/kmscon_main.h
rename to src/kmscon_conf.h
index 7011b1d..0210ff9 100644 (file)
@@ -33,7 +33,7 @@
 #include <sys/signalfd.h>
 #include "conf.h"
 #include "eloop.h"
-#include "kmscon_main.h"
+#include "kmscon_conf.h"
 #include "kmscon_ui.h"
 #include "log.h"
 #include "shl_dlist.h"
index 26ebbb0..a0c1ae6 100644 (file)
@@ -35,7 +35,7 @@
 #include <stdlib.h>
 #include <string.h>
 #include "eloop.h"
-#include "kmscon_main.h"
+#include "kmscon_conf.h"
 #include "kmscon_terminal.h"
 #include "log.h"
 #include "pty.h"