aboutsummaryrefslogtreecommitdiffstats
path: root/src/bin/termcmd.c
diff options
context:
space:
mode:
authorBoris Faure <billiob@gmail.com>2016-10-05 22:00:22 +0200
committerBoris Faure <billiob@gmail.com>2016-10-05 22:00:22 +0200
commit76f1bf4342e05d12d2395f09cea7286343e18557 (patch)
tree9c184d7263047441ef7be1adcf8fb926e1312596 /src/bin/termcmd.c
parentfix shadow variable 'i' (diff)
downloadterminology-76f1bf4342e05d12d2395f09cea7286343e18557.tar.gz
prefix EINA_UNUSED parameters with an underscore
and fix related issues
Diffstat (limited to 'src/bin/termcmd.c')
-rw-r--r--src/bin/termcmd.c21
1 files changed, 16 insertions, 5 deletions
diff --git a/src/bin/termcmd.c b/src/bin/termcmd.c
index cbe0073..3b2e733 100644
--- a/src/bin/termcmd.c
+++ b/src/bin/termcmd.c
@@ -11,7 +11,10 @@
#include "termcmd.h"
static Eina_Bool
-_termcmd_search(Evas_Object *obj EINA_UNUSED, Evas_Object *win EINA_UNUSED, Evas_Object *bg EINA_UNUSED, const char *cmd)
+_termcmd_search(Evas_Object *_obj EINA_UNUSED,
+ Evas_Object *_win EINA_UNUSED,
+ Evas_Object *_bg EINA_UNUSED,
+ const char *cmd)
{
if (cmd[0] == 0) // clear search
{
@@ -23,8 +26,10 @@ _termcmd_search(Evas_Object *obj EINA_UNUSED, Evas_Object *win EINA_UNUSED, Evas
}
static Eina_Bool
-_termcmd_font_size(Evas_Object *obj, Evas_Object *win EINA_UNUSED,
- Evas_Object *bg EINA_UNUSED, const char *cmd)
+_termcmd_font_size(Evas_Object *obj,
+ Evas_Object *_win EINA_UNUSED,
+ Evas_Object *_bg EINA_UNUSED,
+ const char *cmd)
{
Config *config = termio_config_get(obj);
@@ -74,7 +79,10 @@ _termcmd_font_size(Evas_Object *obj, Evas_Object *win EINA_UNUSED,
}
static Eina_Bool
-_termcmd_grid_size(Evas_Object *obj, Evas_Object *win EINA_UNUSED, Evas_Object *bg EINA_UNUSED, const char *cmd)
+_termcmd_grid_size(Evas_Object *obj,
+ Evas_Object *_win EINA_UNUSED,
+ Evas_Object *_bg EINA_UNUSED,
+ const char *cmd)
{
int w = -1, h = -1;
int r = sscanf(cmd, "%ix%i", &w, &h);
@@ -101,7 +109,10 @@ _termcmd_grid_size(Evas_Object *obj, Evas_Object *win EINA_UNUSED, Evas_Object *
}
static Eina_Bool
-_termcmd_background(Evas_Object *obj, Evas_Object *win EINA_UNUSED, Evas_Object *bg EINA_UNUSED, const char *cmd)
+_termcmd_background(Evas_Object *obj,
+ Evas_Object *_win EINA_UNUSED,
+ Evas_Object *_bg EINA_UNUSED,
+ const char *cmd)
{
Config *config = termio_config_get(obj);