summaryrefslogtreecommitdiff
path: root/src/bin
diff options
context:
space:
mode:
authorCedric BAIL <cedric.bail@samsung.com>2013-03-21 10:04:32 +0900
committerCedric BAIL <cedric.bail@samsung.com>2013-03-21 10:04:32 +0900
commit07b5d9fe6ca5137e0a4c837d0fab5839a0ba50ee (patch)
treebb33dfd5f7e9d7d4376c9067873683d4e4d266c6 /src/bin
parent723825e49eacd016ef05dc12045e985e9772baf6 (diff)
downloadenlightenment-07b5d9fe6ca5137e0a4c837d0fab5839a0ba50ee.tar.gz
dear Mike,
If you just want to silence your warning remove all -W from your CFLAGS and take your revenge back to your compiler. Introducing bugs to just silent warning is not gona help any one. The borker, Cedric
Diffstat (limited to 'src/bin')
-rw-r--r--src/bin/e_sys_l2ping.c3
-rw-r--r--src/bin/e_sys_main.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/src/bin/e_sys_l2ping.c b/src/bin/e_sys_l2ping.c
index faab77ec99..236364d482 100644
--- a/src/bin/e_sys_l2ping.c
+++ b/src/bin/e_sys_l2ping.c
@@ -10,7 +10,7 @@
#endif
double
-e_sys_l2ping(const char *bluetooth_mac EINA_UNUSED)
+e_sys_l2ping(const char *bluetooth_mac)
{
#ifdef HAVE_BLUETOOTH
char send_buf[L2CAP_CMD_HDR_SIZE + 1];
@@ -95,6 +95,7 @@ e_sys_l2ping(const char *bluetooth_mac EINA_UNUSED)
return ecore_time_get() - start;
#else
+ (void) bluetooth_mac;
fprintf(stderr, "e_sys_l2ping nop\n");
return -1;
#endif
diff --git a/src/bin/e_sys_main.c b/src/bin/e_sys_main.c
index 70f836c953..b48f1c08b6 100644
--- a/src/bin/e_sys_main.c
+++ b/src/bin/e_sys_main.c
@@ -188,7 +188,7 @@ main(int argc,
latency = e_sys_l2ping(output);
eina_convert_dtoa(latency, tmp);
- fprintf(stdout, "%s\n", tmp);
+ fputs(tmp, stdout);
return (latency < 0) ? 1 : 0;
}