summaryrefslogtreecommitdiff
path: root/android/tester-hidhost.c
diff options
context:
space:
mode:
authorJakub Tyszkowski <jakub.tyszkowski@tieto.com>2014-07-17 10:29:48 +0200
committerSzymon Janc <szymon.janc@tieto.com>2014-07-18 09:49:12 +0200
commitfb49bdf6914ef2b9e065991d5fb828369b4e1b15 (patch)
tree94218fd31dd455baf8fcc14b4f986a5c411df9ba /android/tester-hidhost.c
parent5a97d13ff1b79e7c38c66f6cfca6fc1193adc389 (diff)
downloadbluez-fb49bdf6914ef2b9e065991d5fb828369b4e1b15.tar.gz
android/tester-ng: Use action and callback defining macros
This significantly shortens the action definitions.
Diffstat (limited to 'android/tester-hidhost.c')
-rw-r--r--android/tester-hidhost.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/android/tester-hidhost.c b/android/tester-hidhost.c
index 413c6b86b..49c34bd25 100644
--- a/android/tester-hidhost.c
+++ b/android/tester-hidhost.c
@@ -20,9 +20,7 @@
static struct queue *list; /* List of hidhost test cases */
static struct step dummy_steps[] = {
- {
- .action = dummy_action,
- },
+ ACTION_SUCCESS(dummy_action, NULL),
};
static struct test_case hidhost_init = {
.step = dummy_steps,