Include libtsm.h instead of sub-headers
authorDavid Herrmann <dh.herrmann@gmail.com>
Sat, 17 Aug 2013 12:59:29 +0000 (14:59 +0200)
committerDavid Herrmann <dh.herrmann@gmail.com>
Sat, 17 Aug 2013 12:59:29 +0000 (14:59 +0200)
Move all source files to include libtsm.h directly. This will get rid of
the recently introduced warnings if sub-headers are included directly.

Signed-off-by: David Herrmann <dh.herrmann@gmail.com>
src/tsm_screen.c
src/tsm_unicode.c
src/tsm_vte.c
src/tsm_vte_charsets.c

index 007dcc2..871fad7 100644 (file)
 #include <stdbool.h>
 #include <stdlib.h>
 #include <string.h>
+#include "libtsm.h"
 #include "shl_llog.h"
 #include "shl_misc.h"
 #include "shl_timer.h"
-#include "tsm_screen.h"
-#include "tsm_unicode.h"
 
 #define LLOG_SUBSYSTEM "tsm_screen"
 
index 3567ccb..d0aee97 100644 (file)
 #include <stdlib.h>
 #include <string.h>
 #include "external/wcwidth.h"
+#include "libtsm.h"
 #include "shl_array.h"
 #include "shl_hashtable.h"
 #include "shl_misc.h"
-#include "tsm_unicode.h"
 
 /*
  * Unicode Symbol Handling
index 31fab0e..bafc7ae 100644 (file)
 #include <stdio.h>
 #include <stdlib.h>
 #include <string.h>
+#include "libtsm.h"
 #include "shl_llog.h"
 #include "shl_misc.h"
-#include "tsm_screen.h"
-#include "tsm_unicode.h"
-#include "tsm_vte.h"
 
 #ifdef BUILD_HAVE_XKBCOMMON
 #  include <xkbcommon/xkbcommon-keysyms.h>
index cf539c9..f356e52 100644 (file)
@@ -66,8 +66,8 @@
 #include <errno.h>
 #include <stdlib.h>
 #include <string.h>
+#include "libtsm.h"
 #include "shl_misc.h"
-#include "tsm_vte.h"
 
 /*
  * Lower Unicode character set. This maps the characters to the basic ASCII