Selaa lähdekoodia

rework on autotools handling of
private headers

Dimitri Stolnikov 13 vuotta sitten
vanhempi
commit
46acfaebd2
5 muutettua tiedostoa jossa 5 lisäystä ja 4 poistoa
  1. 1 1
      include/Makefile.am
  2. 0 0
      include/rtlsdr_i2c.h
  3. 1 1
      src/tuner_e4000.c
  4. 1 1
      src/tuner_fc0012.c
  5. 2 1
      src/tuner_fc0013.c

+ 1 - 1
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)

include/i2c.h → include/rtlsdr_i2c.h


+ 1 - 1
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

+ 1 - 1
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
 

+ 2 - 1
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