summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDimitri Stolnikov <horiz0n@gmx.net>2012-04-01 12:40:51 +0200
committerDimitri Stolnikov <horiz0n@gmx.net>2012-04-01 12:40:51 +0200
commit46acfaebd2e4670e0d63696dc55fcb5f6bd9737a (patch)
tree911e902070d2b4bd36099c1c6e223f3cae184c5d
parent367113b5c8bd38917c5ebcd72efffb1aa6de3cc3 (diff)
rework on autotools handling of
private headers
-rw-r--r--include/Makefile.am2
-rw-r--r--include/rtlsdr_i2c.h (renamed from include/i2c.h)0
-rw-r--r--src/tuner_e4000.c2
-rw-r--r--src/tuner_fc0012.c2
-rw-r--r--src/tuner_fc0013.c3
5 files changed, 5 insertions, 4 deletions
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
index 0877380..0877380 100644
--- a/include/i2c.h
+++ b/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 <stdint.h>
-#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 <stdio.h>
#include <stdint.h>
+#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 <stdint.h>
-#include "i2c.h"
+
+#include "rtlsdr_i2c.h"
#include "tuner_fc0013.h"
#define CRYSTAL_FREQ 28800000