From: Krisztian Litkey Date: Fri, 30 Nov 2012 11:33:21 +0000 (+0200) Subject: mainloop-test: pedantic stylistic changes. X-Git-Tag: accepted/2.0alpha/20121203.182640~25 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=da34db5764be82cd03cd4e94996aae9acf2694e2;p=profile%2Fivi%2Fmurphy.git mainloop-test: pedantic stylistic changes. --- diff --git a/src/common/tests/mainloop-qt-test.h b/src/common/tests/mainloop-qt-test.h index f4a3168..cfa3f3e 100644 --- a/src/common/tests/mainloop-qt-test.h +++ b/src/common/tests/mainloop-qt-test.h @@ -36,9 +36,9 @@ MRP_CDECL_BEGIN -mrp_mainloop_t * qt_mainloop_create(); -int qt_mainloop_run(); -int qt_mainloop_quit(); +mrp_mainloop_t *qt_mainloop_create(void); +int qt_mainloop_run(void); +int qt_mainloop_quit(void); int qt_mainloop_cleanup(mrp_mainloop_t *ml); MRP_CDECL_END diff --git a/src/common/tests/mainloop-test.c b/src/common/tests/mainloop-test.c index 64253e0..2488791 100644 --- a/src/common/tests/mainloop-test.c +++ b/src/common/tests/mainloop-test.c @@ -1624,7 +1624,8 @@ void mainloop_cleanup(test_config_t *cfg) break; case MAINLOOP_QT: - if (qt_mainloop_cleanup(cfg->ml) == TRUE) cfg->ml = NULL; + qt_mainloop_cleanup(cfg->ml); + cfg->ml = NULL; break; default: