From 733677e2c21b1ea3789c5296c84c1730d9ce498d Mon Sep 17 00:00:00 2001 From: "kay.sievers@vrfy.org" Date: Sat, 5 Mar 2005 07:16:21 +0100 Subject: [PATCH] klibc_fixups: remove unneeded stuff --- libsysfs/dlist.c | 1 + libsysfs/dlist.h | 5 +++-- libsysfs/sysfs.h | 1 - 3 files changed, 4 insertions(+), 3 deletions(-) (limited to 'libsysfs') diff --git a/libsysfs/dlist.c b/libsysfs/dlist.c index c4ee324573..c44e9d5ff5 100644 --- a/libsysfs/dlist.c +++ b/libsysfs/dlist.c @@ -27,6 +27,7 @@ * delete function. Otherwise dlist will just use free. */ +#include "stdlib.h" #include "dlist.h" /* diff --git a/libsysfs/dlist.h b/libsysfs/dlist.h index 9e3a6c96de..62eaa9fec4 100644 --- a/libsysfs/dlist.h +++ b/libsysfs/dlist.h @@ -50,9 +50,10 @@ * Just use the dlist_(insert|delete)_(before|after) macros if you do not want * to think about it. - */ -#include + +#include + typedef struct dl_node { struct dl_node *prev; struct dl_node *next; diff --git a/libsysfs/sysfs.h b/libsysfs/sysfs.h index 30bd9b4089..838427797d 100644 --- a/libsysfs/sysfs.h +++ b/libsysfs/sysfs.h @@ -28,7 +28,6 @@ #include #include #include -#include #include #include #include -- cgit v1.2.3-54-g00ecf