diff options
author | ZipCPU <dgisselq@ieee.org> | 2018-06-06 17:17:44 -0400 |
---|---|---|
committer | ZipCPU <dgisselq@ieee.org> | 2018-06-06 17:17:44 -0400 |
commit | 109287ee90cf5d7a7858d04dbc0fea595981538f (patch) | |
tree | e51dd3bedc6e18260380e4dc1d1c7291156615f4 /common | |
parent | 795cf4f3a329925141b10b0f4f7695188f655184 (diff) | |
download | nextpnr-109287ee90cf5d7a7858d04dbc0fea595981538f.tar.gz nextpnr-109287ee90cf5d7a7858d04dbc0fea595981538f.tar.bz2 nextpnr-109287ee90cf5d7a7858d04dbc0fea595981538f.zip |
Removed unused set of warnings from log.cc
Diffstat (limited to 'common')
-rw-r--r-- | common/log.cc | 2 | ||||
-rw-r--r-- | common/log.h | 5 |
2 files changed, 2 insertions, 5 deletions
diff --git a/common/log.cc b/common/log.cc index 84150a15..00e1765f 100644 --- a/common/log.cc +++ b/common/log.cc @@ -31,8 +31,6 @@ std::vector<FILE*> log_files; std::vector<std::ostream*> log_streams; -std::map<std::string, std::set<std::string>> log_hdump; -bool log_hdump_all = false; FILE *log_errfile = NULL; bool log_error_stderr = false; diff --git a/common/log.h b/common/log.h index 259a30a1..2bf1604a 100644 --- a/common/log.h +++ b/common/log.h @@ -24,6 +24,7 @@ #include <string> #include <vector> #include <set> +#include <ostream> #include <stdio.h> #include <stdarg.h> @@ -38,9 +39,6 @@ struct log_cmd_error_exception { }; extern std::vector<FILE*> log_files; extern std::vector<std::ostream*> log_streams; -extern std::set<std::string> log_warnings; -extern int log_warnings_count; -extern bool log_hdump_all; extern FILE *log_errfile; extern bool log_quiet_warnings; @@ -54,6 +52,7 @@ void logv_warning_noprefix(const char *format, va_list ap); NXP_NORETURN void logv_error(const char *format, va_list ap) NXP_ATTRIBUTE(noreturn); +extern std::ostream clog; void log(const char *format, ...); void log_header(const char *format, ...); void log_info(const char *format, ...); |