diff options
author | Tom Rondeau <trondeau@vt.edu> | 2013-03-27 16:59:13 -0400 |
---|---|---|
committer | Tom Rondeau <trondeau@vt.edu> | 2013-03-27 16:59:13 -0400 |
commit | b2e4a3e22fc2f75817a716d7c81e99ef64129bc6 (patch) | |
tree | c10229fb75d396bae7ea4fb7e633dceabb70ae1d /gnuradio-runtime | |
parent | a7ee9c9f0575580daa0da7a844a09ba65af143e5 (diff) |
build: remove config.h from any header files; only use it in source files.
Diffstat (limited to 'gnuradio-runtime')
-rw-r--r-- | gnuradio-runtime/include/gr_logger.h | 4 | ||||
-rw-r--r-- | gnuradio-runtime/include/gr_unittests.h | 4 | ||||
-rw-r--r-- | gnuradio-runtime/include/pycallback_object.h | 1 | ||||
-rw-r--r-- | gnuradio-runtime/lib/gr_logger.cc | 4 | ||||
-rw-r--r-- | gnuradio-runtime/lib/test_runtime.cc | 4 | ||||
-rw-r--r-- | gnuradio-runtime/swig/runtime_swig.i | 4 |
6 files changed, 10 insertions, 11 deletions
diff --git a/gnuradio-runtime/include/gr_logger.h b/gnuradio-runtime/include/gr_logger.h index f3114467d..5898d0bfa 100644 --- a/gnuradio-runtime/include/gr_logger.h +++ b/gnuradio-runtime/include/gr_logger.h @@ -36,10 +36,6 @@ * */ -#ifndef ENABLE_GR_LOG -#include "config.h" -#endif - #include <gr_runtime_api.h> #include <assert.h> #include <iostream> diff --git a/gnuradio-runtime/include/gr_unittests.h b/gnuradio-runtime/include/gr_unittests.h index 730ca7f88..d160ba335 100644 --- a/gnuradio-runtime/include/gr_unittests.h +++ b/gnuradio-runtime/include/gr_unittests.h @@ -20,10 +20,6 @@ * Boston, MA 02110-1301, USA. */ -#ifdef HAVE_CONFIG_H -#include "config.h" -#endif - #include <gr_runtime_api.h> #include <stdio.h> #include <stdlib.h> diff --git a/gnuradio-runtime/include/pycallback_object.h b/gnuradio-runtime/include/pycallback_object.h index 922e03393..23782a42b 100644 --- a/gnuradio-runtime/include/pycallback_object.h +++ b/gnuradio-runtime/include/pycallback_object.h @@ -26,7 +26,6 @@ #include <IcePy_Communicator.h> #include <pythread.h> #include <boost/format.hpp> -#include <config.h> enum pyport_t { PYPORT_STRING, diff --git a/gnuradio-runtime/lib/gr_logger.cc b/gnuradio-runtime/lib/gr_logger.cc index 7e0116d03..82737128b 100644 --- a/gnuradio-runtime/lib/gr_logger.cc +++ b/gnuradio-runtime/lib/gr_logger.cc @@ -26,6 +26,10 @@ * The gr_log module wraps the log4cpp library for logging in gnuradio. *******************************************************************************/ +#ifndef ENABLE_GR_LOG +#include "config.h" +#endif + #include <gr_logger.h> #include <stdexcept> #include <algorithm> diff --git a/gnuradio-runtime/lib/test_runtime.cc b/gnuradio-runtime/lib/test_runtime.cc index bd5378332..783cbebc0 100644 --- a/gnuradio-runtime/lib/test_runtime.cc +++ b/gnuradio-runtime/lib/test_runtime.cc @@ -20,6 +20,10 @@ * Boston, MA 02110-1301, USA. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include <cppunit/TextTestRunner.h> #include <cppunit/XmlOutputter.h> diff --git a/gnuradio-runtime/swig/runtime_swig.i b/gnuradio-runtime/swig/runtime_swig.i index b7fcc3195..2973d1992 100644 --- a/gnuradio-runtime/swig/runtime_swig.i +++ b/gnuradio-runtime/swig/runtime_swig.i @@ -36,7 +36,7 @@ #include <gr_endianness.h> #include <gr_block.h> #include <gr_block_detail.h> - //#include <gr_block_gateway.h> +#include <gr_block_gateway.h> #include <gr_buffer.h> #include <gr_constants.h> #include <gr_dispatcher.h> @@ -70,7 +70,7 @@ %include <gr_basic_block.i> %include <gr_block.i> %include <gr_block_detail.i> - //%include <gr_block_gateway.i> +%include <gr_block_gateway.i> %include <gr_buffer.i> %include <gr_constants.i> %include <gr_dispatcher.i> |