about summary refs log tree commit diff homepage
path: root/test/Feature
diff options
context:
space:
mode:
authorMartijn Thé <martijn@pebble.com>2015-07-31 13:46:59 +0200
committerJiri Slaby <jslaby@suse.cz>2017-02-10 15:49:59 +0100
commit37ce2ef0320c69c6765ad3c0f3b7d4f705c45262 (patch)
tree942c230f0149c68f5a92590a6965bb5b632f5ad4 /test/Feature
parentde7e2b94a5f9ee05496e6a65e7370d7270b38799 (diff)
downloadklee-37ce2ef0320c69c6765ad3c0f3b7d4f705c45262.tar.gz
test: fix broken Vararg test
The helper function had int return type, while no value was being
returned.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Diffstat (limited to 'test/Feature')
-rw-r--r--test/Feature/Vararg.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/Feature/Vararg.c b/test/Feature/Vararg.c
index 398ba6f8..82fbe4f1 100644
--- a/test/Feature/Vararg.c
+++ b/test/Feature/Vararg.c
@@ -12,7 +12,7 @@ struct triple {
   int first, second, third;
 };
 
-int test1(int x, ...) {
+void test1(int x, ...) {
   va_list ap;
   va_start(ap, x);
   int i32 = va_arg(ap, int);