fix some header usage in tools/misc/
PATCH 1/1 fix some header usage in tools/misc/
Remove a non-portable and unused error.h, and use signal.h not sys/signal.h.
# HG changeset patch
# User [email protected]
# Node ID 12ff3bd86d054ed4307c4056ed8185d55b93f1c6 # Parent b0cc38e1569ad26de8202737775c9b87fefd42b5 fix header usage
tools/misc/cpuperf/cpuperf.c +0 -1
@@ -16,7 +16,6 @@#include <sys/types.h> #include <sched.h> -#include <error.h> #include <stdio.h> #include <unistd.h> #include <stdlib.h>
tools/misc/miniterm/miniterm.c +1 -1
@@ -29,7 +29,7 @@#include <stdlib.h> #include <unistd.h> #include <fcntl.h> -#include <sys/signal.h> +#include <signal.h> #include <sys/types.h> #include <sys/wait.h>