From 912a5b1e31d405184c25309a26d71f5f719842b0 Mon Sep 17 00:00:00 2001 From: Steve Markgraf Date: Thu, 5 Apr 2012 01:08:37 +0200 Subject: [PATCH] make older versions of GCC happy fixes the 'redefinition'-error with older versions of GCC Signed-off-by: Steve Markgraf --- src/rtl-sdr.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rtl-sdr.c b/src/rtl-sdr.c index 7317c00..0d050ee 100644 --- a/src/rtl-sdr.c +++ b/src/rtl-sdr.c @@ -137,7 +137,7 @@ static rtlsdr_device_t devices[] = { #define BUF_COUNT 32 #define BUF_LENGTH (16 * 16384) -typedef struct rtlsdr_dev { +struct rtlsdr_dev { libusb_context *ctx; struct libusb_device_handle *devh; struct libusb_transfer *xfer[BUF_COUNT]; @@ -147,7 +147,7 @@ typedef struct rtlsdr_dev { int run_async; rtlsdr_tuner_t *tuner; int rate; /* Hz */ -} rtlsdr_dev_t; +}; #define CRYSTAL_FREQ 28800000 #define MAX_SAMP_RATE 3200000