]> git.ozlabs.org Git - ccan/blobdiff - tools/tools.c
ccanlint: use gcov to rate test coverage (score out of 5)
[ccan] / tools / tools.c
index 8ce193cd226bd0905f7a6738c4f70eda4057fe1c..7de02e3b9dfdcc2ae1604d6db5c6d46a1466ecc7 100644 (file)
@@ -63,10 +63,8 @@ static void killme(int sig)
        kill(-getpid(), SIGKILL);
 }
 
-static char *run_with_timeout(const void *ctx,
-                             const char *cmd,
-                             bool *ok,
-                             unsigned *timeout_ms)
+char *run_with_timeout(const void *ctx, const char *cmd,
+                      bool *ok, unsigned *timeout_ms)
 {
        pid_t pid;
        int p[2];