Skip to contentSkip to conversation

fix some header usage in tools/misc/

PATCH New John Levon 1 participant 1 message Oct 27, 2005

lore
Share & tools
lore

John Levon

author
#0 lore raw

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
diff -r b0cc38e1569a -r 12ff3bd86d05 tools/misc/cpuperf/cpuperf.c
@@ -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
diff -r b0cc38e1569a -r 12ff3bd86d05 tools/misc/miniterm/miniterm.c
@@ -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>