From da34db5764be82cd03cd4e94996aae9acf2694e2 Mon Sep 17 00:00:00 2001 From: Krisztian Litkey Date: Fri, 30 Nov 2012 13:33:21 +0200 Subject: [PATCH] mainloop-test: pedantic stylistic changes. --- src/common/tests/mainloop-qt-test.h | 6 +++--- src/common/tests/mainloop-test.c | 3 ++- 2 files changed, 5 insertions(+), 4 deletions(-) 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: -- 2.7.4