Fix a brunch of -Wextra warnings:

- 'static' is not at beginning of declaration;
  - unused parameter;
  - comparison between signed and unsigned.
This commit is contained in:
Romain Tartiere
2010-04-07 15:08:04 +00:00
parent 3a0d05d15a
commit 5473befa13
8 changed files with 22 additions and 4 deletions

View File

@@ -43,7 +43,7 @@
#define DRIVERS_MAX_DEVICES 16
#define MAX_FRAME_LEN 264
const static struct driver_callbacks drivers_callbacks_list[] = {
static const struct driver_callbacks drivers_callbacks_list[] = {
// Driver Name Pick Device List Devices Connect Transceive Disconnect
#ifdef HAVE_PCSC_LITE
{ ACR122_DRIVER_NAME, acr122_pick_device, acr122_list_devices, acr122_connect, acr122_transceive, acr122_disconnect },