X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=tools%2Ftools.c;h=7de02e3b9dfdcc2ae1604d6db5c6d46a1466ecc7;hp=8ce193cd226bd0905f7a6738c4f70eda4057fe1c;hb=a200e1ad1cf5a4828ea4e4e222838ddad5a4a9a3;hpb=e9d8020e0300f586bef1ef27bfff3593ac1317c2 diff --git a/tools/tools.c b/tools/tools.c index 8ce193cd..7de02e3b 100644 --- a/tools/tools.c +++ b/tools/tools.c @@ -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];