diff options
author | Andreas Schuh <andreas.schuh.84@gmail.com> | 2016-11-25 13:42:29 +0000 |
---|---|---|
committer | Andreas Schuh <andreas.schuh.84@gmail.com> | 2016-11-25 13:53:24 +0000 |
commit | 8f2c22a03f40da83f48d8e7c799d551c8005a8b6 (patch) | |
tree | bea2f3cc0eb391eb94cf2960e231846466bc0250 | |
parent | ea6144e243c106544ec068fc08ef14fb1e1644c4 (diff) | |
download | gflags-8f2c22a03f40da83f48d8e7c799d551c8005a8b6.tar.gz gflags-8f2c22a03f40da83f48d8e7c799d551c8005a8b6.tar.bz2 gflags-8f2c22a03f40da83f48d8e7c799d551c8005a8b6.zip |
Revert "enh: Rename private sources, include public headers with rel path"
-rw-r--r-- | CMakeLists.txt | 4 | ||||
-rw-r--r-- | src/gflags.cc | 2 | ||||
-rw-r--r-- | src/gflags.h.in | 2 | ||||
-rw-r--r-- | src/gflags_completions.cc (renamed from src/completions.cc) | 10 | ||||
-rw-r--r-- | src/gflags_reporting.cc (renamed from src/reporting.cc) | 4 | ||||
-rw-r--r-- | src/mutex.h | 2 | ||||
-rw-r--r-- | src/util.h | 1 |
7 files changed, 13 insertions, 12 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt index ca7c147..3fd9d70 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -350,8 +350,8 @@ set (PRIVATE_HDRS set (GFLAGS_SRCS "gflags.cc" - "reporting.cc" - "completions.cc" + "gflags_reporting.cc" + "gflags_completions.cc" ) if (OS_WINDOWS) diff --git a/src/gflags.cc b/src/gflags.cc index bc62227..42dcd04 100644 --- a/src/gflags.cc +++ b/src/gflags.cc @@ -88,7 +88,7 @@ // are, similarly, mostly hooks into the functionality described above. #include "config.h" -#include "gflags/gflags.h" +#include "gflags.h" #include <assert.h> #include <ctype.h> diff --git a/src/gflags.h.in b/src/gflags.h.in index 43b3f7a..3732636 100644 --- a/src/gflags.h.in +++ b/src/gflags.h.in @@ -81,7 +81,7 @@ #include <string> #include <vector> -#include "gflags/gflags_declare.h" // IWYU pragma: export +#include "gflags_declare.h" // IWYU pragma: export // We always want to export variables defined in user code diff --git a/src/completions.cc b/src/gflags_completions.cc index 875088d..8fefa1b 100644 --- a/src/completions.cc +++ b/src/gflags_completions.cc @@ -46,6 +46,11 @@ // 5a) Force bash to place most-relevent groups at the top of the list // 5b) Trim most flag's descriptions to fit on a single terminal line + +#include "gflags_completions.h" + +#include "config.h" + #include <stdio.h> #include <stdlib.h> #include <string.h> // for strlen @@ -55,12 +60,9 @@ #include <utility> #include <vector> -#include "config.h" +#include "gflags.h" #include "util.h" -#include "gflags/gflags.h" -#include "gflags/gflags_completions.h" - using std::set; using std::string; using std::vector; diff --git a/src/reporting.cc b/src/gflags_reporting.cc index 7cc6691..fb17059 100644 --- a/src/reporting.cc +++ b/src/gflags_reporting.cc @@ -56,8 +56,8 @@ #include <vector> #include "config.h" -#include "gflags/gflags.h" -#include "gflags/gflags_completions.h" +#include "gflags.h" +#include "gflags_completions.h" #include "util.h" diff --git a/src/mutex.h b/src/mutex.h index 1648c2f..ff96f2b 100644 --- a/src/mutex.h +++ b/src/mutex.h @@ -106,7 +106,7 @@ #ifndef GFLAGS_MUTEX_H_ #define GFLAGS_MUTEX_H_ -#include "gflags/gflags_declare.h" // to figure out pthreads support +#include "gflags_declare.h" // to figure out pthreads support #if defined(NO_THREADS) typedef int MutexType; // to keep a lock-count @@ -35,7 +35,6 @@ #define GFLAGS_UTIL_H_ #include "config.h" -#include "gflags/gflags_declare.h" // GFLAGS_NAMESPACE #include <assert.h> #ifdef HAVE_INTTYPES_H |