Fixed warnings on %lld and %llu
Revert Warnings fix as it works only for C99 so keep the old version with warnings.
firmware/build: Use gnu99 coding convention

C99 doesn't require/support anonymous struct/unions in some GCC versions
and those are used a lot.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
libhackrf: Add a pkgconfig .pc file to allow auto-discovery of prefix

Shamelessly copied from librtlsdr.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
libhackrf: Fix early exit of transfer thread in case of syscal interruption

libusb can return LIBUSB_ERROR_INTERRUPTED and it's not really an error,
just a sign some syscall got interrupted by something. Don't abort on
that.

Signed-off-by: Sylvain Munaut <tnt@246tNt.com>
Correct help text for hackrf_transfer

Option for 5 MHz sample-rate was removed, show correct minimal
sample-rate of 8 MHz
Merge pull request #70 from fd0/correct-help-text

Correct help text for hackrf_transfer
Merge pull request #68 from smunaut/pending

Misc patches I needed to make it work properly
lib: fractional sample rates
firmware: fractional sample rates
lib: make BE people happy
lib: actually handle the value returned by the fw when setting the gains
Merge pull request #72 from Hoernchen/siclock

fractional sample rates, and so on
Merge branch 'master' of git://github.com/mossmann/hackrf
hackrf_spiflash added checks & error on fileopen() error for read & write.
lib: rename the define, gcc already defines BIG_ENDIAN
Merge pull request #73 from Hoernchen/siclock

lib: rename the define, gcc already defines BIG_ENDIAN
tools: calculate the multisynth output and print it
firmware: enable int mode if div is even integer

to improve jitter performance
fix indent, fix unused vars