diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2012-08-09 16:13:43 +0200 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2012-08-09 16:13:43 +0200 |
commit | 01239ea839548a71b3313d51b5890a6050cb64ec (patch) | |
tree | 13022613b155a647aa601590bc33b233ef9a903b | |
parent | b4cbab6774acf47bb6173911a865dfb4d4ce869c (diff) | |
download | 0xFFFF-01239ea839548a71b3313d51b5890a6050cb64ec.tar.bz2 |
Rename usb_device to usb-device, fix includes
-rw-r--r-- | src/cold-flash.c | 1 | ||||
-rw-r--r-- | src/main2.c | 3 | ||||
-rw-r--r-- | src/usb-device.c (renamed from src/usb_device.c) | 2 | ||||
-rw-r--r-- | src/usb-device.h (renamed from src/usb_device.h) | 0 |
4 files changed, 4 insertions, 2 deletions
diff --git a/src/cold-flash.c b/src/cold-flash.c index dcd2a70..6f47e1a 100644 --- a/src/cold-flash.c +++ b/src/cold-flash.c @@ -23,6 +23,7 @@ #include <errno.h> #include <usb.h> +#include "cold-flash.h" #include "image.h" #define READ_DEV 0x81 diff --git a/src/main2.c b/src/main2.c index c76935d..bb2c34e 100644 --- a/src/main2.c +++ b/src/main2.c @@ -28,9 +28,10 @@ #include <fcntl.h> #include <unistd.h> -#include "device.h" #include "image.h" #include "fiasco2.h" +#include "device.h" +#include "usb-device.h" #define VERSION "0.6" diff --git a/src/usb_device.c b/src/usb-device.c index e01593a..9fc8d91 100644 --- a/src/usb_device.c +++ b/src/usb-device.c @@ -26,7 +26,7 @@ #include <usb.h> #include "device.h" -#include "usb_device.h" +#include "usb-device.h" static struct usb_flash_device usb_devices[] = { { 0x0421, 0x0105, 2, 1, -1, FLASH_NOLO, { DEVICE_SU_18, DEVICE_RX_44, DEVICE_RX_48, DEVICE_RX_51, 0 } }, diff --git a/src/usb_device.h b/src/usb-device.h index ec4f967..ec4f967 100644 --- a/src/usb_device.h +++ b/src/usb-device.h |