mainloop-test: pedantic stylistic changes.
authorKrisztian Litkey <krisztian.litkey@intel.com>
Fri, 30 Nov 2012 11:33:21 +0000 (13:33 +0200)
committerKrisztian Litkey <krisztian.litkey@intel.com>
Fri, 30 Nov 2012 11:37:08 +0000 (13:37 +0200)
src/common/tests/mainloop-qt-test.h
src/common/tests/mainloop-test.c

index f4a3168..cfa3f3e 100644 (file)
@@ -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
index 64253e0..2488791 100644 (file)
@@ -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: