datapath-windows: Rename OvsGetVportNo into OvsComputeVportNo and make public
[cascardo/ovs.git] / tests / test-stp.c
index 9ca9c6c..45f0f4c 100644 (file)
@@ -316,10 +316,9 @@ simulate(struct test_case *tc, int granularity)
     }
 }
 
-static void
+NO_RETURN static void
 err(const char *message, ...)
-    PRINTF_FORMAT(1, 2)
-    NO_RETURN;
+    PRINTF_FORMAT(1, 2);
 
 static void
 err(const char *message, ...)
@@ -666,6 +665,7 @@ test_stp_main(int argc, char *argv[])
         free(bridge);
     }
     free(tc);
+    fclose(input_file);
 }
 
 OVSTEST_REGISTER("test-stp", test_stp_main);