From c15925a24efe14f437d8a2699500241a58fdc8f9 Mon Sep 17 00:00:00 2001 From: Miguel Date: Fri, 17 Aug 2018 21:41:21 +0200 Subject: cleanup and working on fifo pipes --- lib/logger/log.c | 3 +-- lib/printf/printf.c | 1 - lib/string/string.h | 1 - 3 files changed, 1 insertion(+), 4 deletions(-) (limited to 'lib') diff --git a/lib/logger/log.c b/lib/logger/log.c index fbc0614..d591b36 100644 --- a/lib/logger/log.c +++ b/lib/logger/log.c @@ -1,10 +1,9 @@ #define FOOLOS_MODULE_NAME "log" +#include "log.h" #include #include -#include "log.h" - #include "kernel/kernel.h" #include "kernel/config.h" #include "kernel/timer.h" diff --git a/lib/printf/printf.c b/lib/printf/printf.c index 23d3d46..0a947d3 100644 --- a/lib/printf/printf.c +++ b/lib/printf/printf.c @@ -35,7 +35,6 @@ typedef void (*putcf) (void*,char); static putcf stdout_putf; static void* stdout_putp; - #ifdef PRINTF_LONG_SUPPORT static void uli2a(unsigned long int num, unsigned int base, int uc,char * bf) diff --git a/lib/string/string.h b/lib/string/string.h index bd43b34..dd756a7 100644 --- a/lib/string/string.h +++ b/lib/string/string.h @@ -1,7 +1,6 @@ #ifndef STRING_H #define STRING_H - void* memcpy(void* restrict dstptr, const void* restrict srcptr, int size); int strcmp(char *str1, char *str2); int strcmp_l(char *str1, char *str2, int length); -- cgit v1.2.3