From 46acfaebd2e4670e0d63696dc55fcb5f6bd9737a Mon Sep 17 00:00:00 2001 From: Dimitri Stolnikov Date: Sun, 1 Apr 2012 12:40:51 +0200 Subject: [PATCH] rework on autotools handling of private headers --- include/Makefile.am | 2 +- include/{i2c.h => rtlsdr_i2c.h} | 0 src/tuner_e4000.c | 2 +- src/tuner_fc0012.c | 2 +- src/tuner_fc0013.c | 3 ++- 5 files changed, 5 insertions(+), 4 deletions(-) rename include/{i2c.h => rtlsdr_i2c.h} (100%) diff --git a/include/Makefile.am b/include/Makefile.am index 50d681c..17482c9 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,5 +1,5 @@ rtlsdr_HEADERS = rtl-sdr.h -noinst_HEADERS = i2c.h tuner_e4000.h tuner_fc0013.h +noinst_HEADERS = rtlsdr_i2c.h tuner_e4000.h tuner_fc0012.h tuner_fc0013.h rtlsdrdir = $(includedir) diff --git a/include/i2c.h b/include/rtlsdr_i2c.h similarity index 100% rename from include/i2c.h rename to include/rtlsdr_i2c.h diff --git a/src/tuner_e4000.c b/src/tuner_e4000.c index 18aa967..ae14dfc 100644 --- a/src/tuner_e4000.c +++ b/src/tuner_e4000.c @@ -8,7 +8,7 @@ #include -#include "i2c.h" +#include "rtlsdr_i2c.h" #include "tuner_e4000.h" #define FUNCTION_ERROR 1 diff --git a/src/tuner_fc0012.c b/src/tuner_fc0012.c index 0b4ca22..a13dbae 100644 --- a/src/tuner_fc0012.c +++ b/src/tuner_fc0012.c @@ -10,8 +10,8 @@ #include #include +#include "rtlsdr_i2c.h" #include "tuner_fc0012.h" -#include "i2c.h" #define CRYSTAL_FREQ 28800000 diff --git a/src/tuner_fc0013.c b/src/tuner_fc0013.c index c718601..22c8066 100644 --- a/src/tuner_fc0013.c +++ b/src/tuner_fc0013.c @@ -7,7 +7,8 @@ */ #include -#include "i2c.h" + +#include "rtlsdr_i2c.h" #include "tuner_fc0013.h" #define CRYSTAL_FREQ 28800000