[vte] build: Rename header file



commit f479790d04bb8932b6816fa343d3621c7997fa5d
Author: Christian Persch <chpe src gnome org>
Date:   Mon Nov 27 17:21:04 2017 +0100

    build: Rename header file

 src/{caps.h => caps.hh} |   14 +-------------
 src/keymap.cc           |    2 +-
 src/matcher.cc          |    2 +-
 src/mev.c               |    2 +-
 src/vte.cc              |    2 +-
 src/vteseq.cc           |    2 +-
 6 files changed, 6 insertions(+), 18 deletions(-)
---
diff --git a/src/caps.h b/src/caps.hh
similarity index 89%
rename from src/caps.h
rename to src/caps.hh
index 6f20d92..0fa8562 100644
--- a/src/caps.h
+++ b/src/caps.hh
@@ -18,13 +18,7 @@
 
 /* The interfaces in this file are subject to change at any time. */
 
-#ifndef vte_caps_h_included
-#define vte_caps_h_included
-
-
-#include <glib.h>
-
-G_BEGIN_DECLS
+#pragma once
 
 #define _VTE_CAP_ESC "\033"            /* Escape */
 #define _VTE_CAP_CSI _VTE_CAP_ESC "["  /* Control Sequence Introducer */
@@ -34,9 +28,3 @@ G_BEGIN_DECLS
 #define _VTE_CAP_APC _VTE_CAP_ESC "_"  /* Application Program Command */
 #define _VTE_CAP_SS2 _VTE_CAP_ESC "N"  /* Single-shift to G2 */
 #define _VTE_CAP_SS3 _VTE_CAP_ESC "O"  /* Single-shift to G3 */
-
-extern const char _vte_xterm_capability_strings[];
-
-G_END_DECLS
-
-#endif
diff --git a/src/keymap.cc b/src/keymap.cc
index 6dbdf31..2bee305 100644
--- a/src/keymap.cc
+++ b/src/keymap.cc
@@ -24,7 +24,7 @@
 #include <string.h>
 #include <glib.h>
 #include <gtk/gtk.h>
-#include "caps.h"
+#include "caps.hh"
 #include "debug.h"
 #include "keymap.h"
 
diff --git a/src/matcher.cc b/src/matcher.cc
index 3ce99ce..8148d84 100644
--- a/src/matcher.cc
+++ b/src/matcher.cc
@@ -22,7 +22,7 @@
 #include <string.h>
 #include <glib-object.h>
 #include "debug.h"
-#include "caps.h"
+#include "caps.hh"
 #include "matcher.hh"
 #include "table.hh"
 
diff --git a/src/mev.c b/src/mev.c
index 8037fe8..04352c3 100644
--- a/src/mev.c
+++ b/src/mev.c
@@ -31,7 +31,7 @@
 #endif
 #include <unistd.h>
 #include <glib.h>
-#include "caps.h"
+#include "caps.hh"
 
 #ifdef HAVE_SYS_SELECT_H
 #include <sys/select.h>
diff --git a/src/vte.cc b/src/vte.cc
index 50c8a74..d16b580 100644
--- a/src/vte.cc
+++ b/src/vte.cc
@@ -43,7 +43,7 @@
 #include "vtedraw.hh"
 #include "reaper.hh"
 #include "ring.h"
-#include "caps.h"
+#include "caps.hh"
 
 #ifdef HAVE_WCHAR_H
 #include <wchar.h>
diff --git a/src/vteseq.cc b/src/vteseq.cc
index cb2479e..6ac3cbb 100644
--- a/src/vteseq.cc
+++ b/src/vteseq.cc
@@ -32,7 +32,7 @@
 #include "vteinternal.hh"
 #include "vtegtk.hh"
 #include "vteutils.h"  /* for strchrnul on non-GNU systems */
-#include "caps.h"
+#include "caps.hh"
 #include "debug.h"
 
 #define BEL "\007"


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]