aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormaximilian attems <max@stro.at>2010-11-20 23:27:55 +0100
committermaximilian attems <max@stro.at>2010-11-20 23:30:48 +0100
commit0aa3ae31d3e9a5436b714d0ffade366687a01794 (patch)
tree7ea5e09e556a41910004602f44ffc71c43fc4677
parentcdf039ed1902e140460c0466a0088696973406e2 (diff)
downloadklibc-0aa3ae31d3e9a5436b714d0ffade366687a01794.tar.gz
[klibc] lib: cleanup unused includes
Some stdarg.h, errno.h and sys/ioctl.h for the good mix. Signed-off-by: maximilian attems <max@stro.at>
-rw-r--r--usr/klibc/execv.c1
-rw-r--r--usr/klibc/execvp.c1
-rw-r--r--usr/klibc/fgetc.c1
-rw-r--r--usr/klibc/getpt.c1
-rw-r--r--usr/klibc/posix_openpt.c1
-rw-r--r--usr/klibc/system.c1
6 files changed, 0 insertions, 6 deletions
diff --git a/usr/klibc/execv.c b/usr/klibc/execv.c
index 29e57379b6c2e..6894e79898a2f 100644
--- a/usr/klibc/execv.c
+++ b/usr/klibc/execv.c
@@ -2,7 +2,6 @@
* execv.c
*/
-#include <stdarg.h>
#include <unistd.h>
int execv(const char *path, char *const *argv)
diff --git a/usr/klibc/execvp.c b/usr/klibc/execvp.c
index 5a9f31d459cb5..7d8e2bc2a0434 100644
--- a/usr/klibc/execvp.c
+++ b/usr/klibc/execvp.c
@@ -2,7 +2,6 @@
* execvp.c
*/
-#include <stdarg.h>
#include <unistd.h>
int execvp(const char *path, char *const *argv)
diff --git a/usr/klibc/fgetc.c b/usr/klibc/fgetc.c
index 9092eae0d4f1f..5b136b15a9183 100644
--- a/usr/klibc/fgetc.c
+++ b/usr/klibc/fgetc.c
@@ -9,7 +9,6 @@
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h>
-#include <errno.h>
int fgetc(FILE *f)
{
diff --git a/usr/klibc/getpt.c b/usr/klibc/getpt.c
index 76ca371b4ffae..8d2a5364bb654 100644
--- a/usr/klibc/getpt.c
+++ b/usr/klibc/getpt.c
@@ -9,7 +9,6 @@
#include <unistd.h>
#include <termios.h>
#include <fcntl.h>
-#include <sys/ioctl.h>
int getpt(void)
{
diff --git a/usr/klibc/posix_openpt.c b/usr/klibc/posix_openpt.c
index 79e67b6c58b38..794ca466f62fd 100644
--- a/usr/klibc/posix_openpt.c
+++ b/usr/klibc/posix_openpt.c
@@ -7,7 +7,6 @@
#include <unistd.h>
#include <termios.h>
#include <fcntl.h>
-#include <sys/ioctl.h>
int posix_openpt(int oflag)
{
diff --git a/usr/klibc/system.c b/usr/klibc/system.c
index 4478b21a9f1bd..13e9fbe922b2c 100644
--- a/usr/klibc/system.c
+++ b/usr/klibc/system.c
@@ -7,7 +7,6 @@
* present.
*/
-#include <errno.h>
#include <stdlib.h>
#include <unistd.h>
#include <signal.h>