From: Antonio Ospite Date: Thu, 29 Sep 2011 21:04:24 +0000 (+0200) Subject: kinect_upload_fw: fix -Wold-style-definition warnings X-Git-Tag: v0.1~18 X-Git-Url: https://git.ao2.it/kinect-audio-setup.git/commitdiff_plain/c7bd1ac5b92c4516d3186ad3218b45c60de8b01f?hp=47a128353513cc6fe19752ba8610ed73901141af kinect_upload_fw: fix -Wold-style-definition warnings kinect_upload_fw.c:67:5: warning: old-style function definition [-Wold-style-definition] kinect_upload_fw.c:86:5: warning: old-style function definition [-Wold-style-definition] --- diff --git a/kinect_upload_fw/kinect_upload_fw.c b/kinect_upload_fw/kinect_upload_fw.c index 746bc68..626b963 100644 --- a/kinect_upload_fw/kinect_upload_fw.c +++ b/kinect_upload_fw/kinect_upload_fw.c @@ -64,7 +64,7 @@ void dump_bl_cmd(bootloader_command cmd) { LOG("\n"); } -int get_first_reply() { +int get_first_reply(void) { unsigned char buffer[512]; int res; int transferred; @@ -83,7 +83,7 @@ int get_first_reply() { } -int get_reply() { +int get_reply(void) { unsigned char dump[512]; status_code buffer = ((status_code*)dump)[0]; int res;