diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mkii.c | 42 |
1 files changed, 42 insertions, 0 deletions
@@ -26,6 +26,7 @@ int mkii_init(struct usb_device_info * dev) { ERROR("Mk II protocol is not implemented yet"); + (void)dev; return -1; } @@ -33,6 +34,7 @@ int mkii_init(struct usb_device_info * dev) { enum device mkii_get_device(struct usb_device_info * dev) { ERROR("Not implemented yet"); + (void)dev; return DEVICE_UNKNOWN; } @@ -40,6 +42,8 @@ enum device mkii_get_device(struct usb_device_info * dev) { int mkii_flash_image(struct usb_device_info * dev, struct image * image) { ERROR("Not implemented yet"); + (void)dev; + (void)image; return -1; } @@ -47,6 +51,7 @@ int mkii_flash_image(struct usb_device_info * dev, struct image * image) { int mkii_reboot_device(struct usb_device_info * dev) { ERROR("Not implemented yet"); + (void)dev; return -1; } @@ -54,6 +59,7 @@ int mkii_reboot_device(struct usb_device_info * dev) { int mkii_get_root_device(struct usb_device_info * dev) { ERROR("Not implemented yet"); + (void)dev; return -1; } @@ -61,6 +67,8 @@ int mkii_get_root_device(struct usb_device_info * dev) { int mkii_set_root_device(struct usb_device_info * dev, int device) { ERROR("Not implemented yet"); + (void)dev; + (void)device; return -1; } @@ -68,6 +76,7 @@ int mkii_set_root_device(struct usb_device_info * dev, int device) { int mkii_get_usb_host_mode(struct usb_device_info * dev) { ERROR("Not implemented yet"); + (void)dev; return -1; } @@ -75,6 +84,8 @@ int mkii_get_usb_host_mode(struct usb_device_info * dev) { int mkii_set_usb_host_mode(struct usb_device_info * dev, int enable) { ERROR("Not implemented yet"); + (void)dev; + (void)enable; return -1; } @@ -82,6 +93,7 @@ int mkii_set_usb_host_mode(struct usb_device_info * dev, int enable) { int mkii_get_rd_mode(struct usb_device_info * dev) { ERROR("Not implemented yet"); + (void)dev; return -1; } @@ -89,6 +101,8 @@ int mkii_get_rd_mode(struct usb_device_info * dev) { int mkii_set_rd_mode(struct usb_device_info * dev, int enable) { ERROR("Not implemented yet"); + (void)dev; + (void)enable; return -1; } @@ -96,6 +110,9 @@ int mkii_set_rd_mode(struct usb_device_info * dev, int enable) { int mkii_get_rd_flags(struct usb_device_info * dev, char * flags, size_t size) { ERROR("Not implemented yet"); + (void)dev; + (void)flags; + (void)size; return -1; } @@ -103,6 +120,8 @@ int mkii_get_rd_flags(struct usb_device_info * dev, char * flags, size_t size) { int mkii_set_rd_flags(struct usb_device_info * dev, const char * flags) { ERROR("Not implemented yet"); + (void)dev; + (void)flags; return -1; } @@ -110,6 +129,7 @@ int mkii_set_rd_flags(struct usb_device_info * dev, const char * flags) { int16_t mkii_get_hwrev(struct usb_device_info * dev) { ERROR("Not implemented yet"); + (void)dev; return -1; } @@ -117,6 +137,8 @@ int16_t mkii_get_hwrev(struct usb_device_info * dev) { int mkii_set_hwrev(struct usb_device_info * dev, int16_t hwrev) { ERROR("Not implemented yet"); + (void)dev; + (void)hwrev; return -1; } @@ -124,6 +146,9 @@ int mkii_set_hwrev(struct usb_device_info * dev, int16_t hwrev) { int mkii_get_kernel_ver(struct usb_device_info * dev, char * ver, size_t size) { ERROR("Not implemented yet"); + (void)dev; + (void)ver; + (void)size; return -1; } @@ -131,6 +156,8 @@ int mkii_get_kernel_ver(struct usb_device_info * dev, char * ver, size_t size) { int mkii_set_kernel_ver(struct usb_device_info * dev, const char * ver) { ERROR("Not implemented yet"); + (void)dev; + (void)ver; return -1; } @@ -138,6 +165,9 @@ int mkii_set_kernel_ver(struct usb_device_info * dev, const char * ver) { int mkii_get_nolo_ver(struct usb_device_info * dev, char * ver, size_t size) { ERROR("Not implemented yet"); + (void)dev; + (void)ver; + (void)size; return -1; } @@ -145,6 +175,8 @@ int mkii_get_nolo_ver(struct usb_device_info * dev, char * ver, size_t size) { int mkii_set_nolo_ver(struct usb_device_info * dev, const char * ver) { ERROR("Not implemented yet"); + (void)dev; + (void)ver; return -1; } @@ -152,6 +184,9 @@ int mkii_set_nolo_ver(struct usb_device_info * dev, const char * ver) { int mkii_get_sw_ver(struct usb_device_info * dev, char * ver, size_t size) { ERROR("Not implemented yet"); + (void)dev; + (void)ver; + (void)size; return -1; } @@ -159,6 +194,8 @@ int mkii_get_sw_ver(struct usb_device_info * dev, char * ver, size_t size) { int mkii_set_sw_ver(struct usb_device_info * dev, const char * ver) { ERROR("Not implemented yet"); + (void)dev; + (void)ver; return -1; } @@ -166,6 +203,9 @@ int mkii_set_sw_ver(struct usb_device_info * dev, const char * ver) { int mkii_get_content_ver(struct usb_device_info * dev, char * ver, size_t size) { ERROR("Not implemented yet"); + (void)dev; + (void)ver; + (void)size; return -1; } @@ -173,6 +213,8 @@ int mkii_get_content_ver(struct usb_device_info * dev, char * ver, size_t size) int mkii_set_content_ver(struct usb_device_info * dev, const char * ver) { ERROR("Not implemented yet"); + (void)dev; + (void)ver; return -1; } |