summaryrefslogtreecommitdiffstats
path: root/src/local.c
diff options
context:
space:
mode:
authorPali Rohár <pali.rohar@gmail.com>2012-11-20 21:51:21 +0100
committerPali Rohár <pali.rohar@gmail.com>2012-11-20 21:51:21 +0100
commita6ec2b36c466c6a60674d2ff905d5c713efc6b29 (patch)
tree9b59e4752001d33eeff19c33250cc063c21fbd1c /src/local.c
parent2cbeb4d0fe89f53cb4af4264694d45a5ff71d580 (diff)
download0xFFFF-a6ec2b36c466c6a60674d2ff905d5c713efc6b29.tar.bz2
local: Fix unused parameter warnings
Diffstat (limited to 'src/local.c')
-rw-r--r--src/local.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/local.c b/src/local.c
index 3fd6eb3..a56a9a3 100644
--- a/src/local.c
+++ b/src/local.c
@@ -115,6 +115,7 @@ enum device local_get_device(void) {
int local_flash_image(struct image * image) {
ERROR("Not implemented yet");
+ (void)image;
return -1;
}
@@ -193,6 +194,7 @@ int local_dump_image(enum image_type image, const char * file) {
int local_check_badblocks(const char * device) {
ERROR("Not implemented yet");
+ (void)device;
return -1;
}
@@ -230,6 +232,9 @@ static int local_read_cal(const char * str, void * buf, size_t size) {
cal_finish(cal);
return len;
#else
+ (void)str;
+ (void)buf;
+ (void)size;
return -1;
#endif
@@ -237,6 +242,9 @@ static int local_read_cal(const char * str, void * buf, size_t size) {
static int local_write_cal(const char * str, const void * buf, size_t len) {
+ (void)str;
+ (void)buf;
+ (void)len;
return -1;
}
@@ -251,6 +259,7 @@ int local_get_root_device(void) {
int local_set_root_device(int device) {
ERROR("Not implemented yet");
+ (void)device;
return -1;
}
@@ -265,6 +274,7 @@ int local_get_usb_host_mode(void) {
int local_set_usb_host_mode(int enable) {
ERROR("Not implemented yet");
+ (void)enable;
return -1;
}
@@ -286,6 +296,7 @@ int local_get_rd_mode(void) {
int local_set_rd_mode(int enable) {
ERROR("Not implemented yet");
+ (void)enable;
return -1;
}
@@ -353,6 +364,7 @@ int16_t local_get_hwrev(void) {
int local_set_hwrev(int16_t hwrev) {
ERROR("Not implemented yet");
+ (void)hwrev;
return -1;
}