aboutsummaryrefslogtreecommitdiffstats
path: root/tools/ipc-test.c
diff options
context:
space:
mode:
Diffstat (limited to 'tools/ipc-test.c')
-rw-r--r--tools/ipc-test.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/tools/ipc-test.c b/tools/ipc-test.c
index 6746371..cc8548f 100644
--- a/tools/ipc-test.c
+++ b/tools/ipc-test.c
@@ -23,7 +23,8 @@
#include <samsung-ipc.h>
-void log_callback(void *data, const char *message)
+void log_callback(__attribute__((unused)) void *data,
+ const char *message)
{
char *buffer;
size_t length;
@@ -47,7 +48,8 @@ void log_callback(void *data, const char *message)
free(buffer);
}
-int main(int args, char *argv[])
+int main(__attribute__((unused)) int args,
+ __attribute__((unused)) char *argv[])
{
struct ipc_client *client = NULL;
struct ipc_message message;