Remove redundant headers - 2

Remove redundant headers from:
  - listview_curses.{cc,hh}
  - top_status_source.{cc,hh}
  - vtab_module.{cc,hh}
  - sql_util.{cc,hh}

Also add the appropriate headers in:
  - log.watch.cc
  - log_format.cc
  - regexp_vtab.cc
pull/1179/head
Suresh Sundriyal 10 months ago
parent 4489277672
commit ec100cdc99

@ -36,6 +36,7 @@
#include <sys/time.h>
#include <time.h>
#include "base/func_util.hh"
#include "base/lnav_log.hh"
#include "config.h"

@ -39,7 +39,6 @@
#include <sys/types.h>
#include "base/func_util.hh"
#include "view_curses.hh"
#include "vis_line.hh"

@ -39,6 +39,7 @@
#include "logfile_sub_source.cfg.hh"
#include "readline_highlighters.hh"
#include "sql_util.hh"
#include "sqlitepp.hh"
namespace lnav {
namespace log {

@ -50,6 +50,7 @@
#include "scn/scn.h"
#include "sql_util.hh"
#include "sqlite-extension-func.hh"
#include "sqlitepp.hh"
#include "yajlpp/yajlpp.hh"
#include "yajlpp/yajlpp_def.hh"

@ -40,6 +40,7 @@
#include "scn/scn.h"
#include "sql_help.hh"
#include "sql_util.hh"
#include "sqlitepp.hh"
#include "vtab_module.hh"
#include "yajlpp/yajlpp.hh"
#include "yajlpp/yajlpp_def.hh"

@ -29,7 +29,6 @@
* @file sql_util.cc
*/
#include <algorithm>
#include <regex>
#include <vector>
@ -42,7 +41,6 @@
#include "base/injector.hh"
#include "base/lnav_log.hh"
#include "base/string_util.hh"
#include "base/time_util.hh"
#include "bound_tags.hh"
#include "config.h"
#include "lnav_util.hh"
@ -51,7 +49,7 @@
#include "readline_highlighters.hh"
#include "sql_execute.hh"
#include "sql_help.hh"
#include "sqlite-extension-func.hh"
#include "sqlitepp.hh"
using namespace lnav::roles::literals;

@ -41,10 +41,9 @@
#include <sys/time.h>
#include <time.h>
#include "base/attr_line.hh"
#include "base/intern_string.hh"
#include "base/lnav.console.hh"
#include "base/time_util.hh"
#include "sqlitepp.hh"
extern const char* sql_keywords[145];
extern const char* sql_function_names[];

@ -29,13 +29,11 @@
#include "top_status_source.hh"
#include "base/injector.hh"
#include "config.h"
#include "lnav.hh"
#include "md2attr_line.hh"
#include "md4cpp.hh"
#include "shlex.hh"
#include "sql_util.hh"
#include "sqlitepp.client.hh"
#include "top_status_source.cfg.hh"

@ -30,15 +30,8 @@
#ifndef lnav_top_status_source_hh
#define lnav_top_status_source_hh
#include <string>
#include <sqlite3.h>
#include "base/injector.hh"
#include "bound_tags.hh"
#include "listview_curses.hh"
#include "sql_util.hh"
#include "sqlitepp.client.hh"
#include "sqlitepp.hh"
#include "statusview_curses.hh"
#include "top_status_source.cfg.hh"

@ -31,7 +31,6 @@
#define vtab_module_hh
#include <string>
#include <utility>
#include <vector>
#include <sqlite3.h>

Loading…
Cancel
Save