summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/malloc.c1
-rw-r--r--src/lib/uart8250.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/lib/malloc.c b/src/lib/malloc.c
index 5364e4cf22..bd403e47e9 100644
--- a/src/lib/malloc.c
+++ b/src/lib/malloc.c
@@ -1,5 +1,4 @@
#include <stdlib.h>
-#include <string.h>
#include <console/console.h>
#if 0
diff --git a/src/lib/uart8250.c b/src/lib/uart8250.c
index e3a1255dc6..0336926925 100644
--- a/src/lib/uart8250.c
+++ b/src/lib/uart8250.c
@@ -20,7 +20,7 @@
#define UART_MSR 0x06
#define UART_SCR 0x07
-static int uart8250_can_tx_byte(unsigned base_port)
+static inline int uart8250_can_tx_byte(unsigned base_port)
{
return inb(base_port + UART_LSR) & 0x20;
}