summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/logger/log.c3
-rw-r--r--lib/printf/printf.c1
-rw-r--r--lib/string/string.h1
3 files changed, 1 insertions, 4 deletions
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 <stdarg.h>
#include <stdbool.h>
-#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);