[Tinyx-devel] [PATCH] LIBC: Change libc include.
Status: Planning
Brought to you by:
davidcohen
From: David C. <da...@gm...> - 2008-01-13 00:32:18
|
Adding include/libc to standard include's path Fixing new libc include path on device.c Signed-off-by: David Cohen <da...@gm...> --- Makefile | 2 +- kernel/device.c | 2 +- lib/libc/strerror.c | 2 +- lib/libc/string.c | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Makefile b/Makefile index 0ca9772..3b0a471 100644 --- a/Makefile +++ b/Makefile @@ -20,7 +20,7 @@ OBJCOPY = $(CROSS_COMPILE)objcopy OBJDUMP = $(CROSS_COMPILE)objdump AWK = awk CFLAGS = -Wall -Os -mcpu=arm7tdmi -INCLUDES = -Iinclude +INCLUDES = -Iinclude -Iinclude/libc PYTHON = python diff --git a/kernel/device.c b/kernel/device.c index 44374ab..8cd35ba 100644 --- a/kernel/device.c +++ b/kernel/device.c @@ -21,7 +21,7 @@ #include <tinyx/device.h> #include <tinyx/list.h> -#include <tinyx/libc/string.h> +#include <string.h> DECLARE_LIST_HEAD(bus_list); DECLARE_LIST_HEAD(driver_list); diff --git a/lib/libc/strerror.c b/lib/libc/strerror.c index cd189a8..ceeb466 100644 --- a/lib/libc/strerror.c +++ b/lib/libc/strerror.c @@ -19,7 +19,7 @@ * along with Tinyx. If not, see <http://www.gnu.org/licenses/>. */ -#include <libc/string.h> +#include <string.h> #include <tinyx/errno.h> #ifdef DEBUG diff --git a/lib/libc/string.c b/lib/libc/string.c index 1a26851..3f738fb 100644 --- a/lib/libc/string.c +++ b/lib/libc/string.c @@ -19,7 +19,7 @@ * along with Tinyx. If not, see <http://www.gnu.org/licenses/>. */ -#include <libc/string.h> +#include <string.h> /** * memset - Fill a memory region with data -- 1.5.3.7 |