mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +00:00
Add riscv64 support Rework klibc support patches Signed-off-by: Khem Raj <raj.khem@gmail.com> Cc: Andrea Adami <andrea.adami@gmail.com>
27 lines
639 B
Diff
27 lines
639 B
Diff
From 9bb386018257e1e18ffe0e925201946515b31080 Mon Sep 17 00:00:00 2001
|
|
From: Andrea Adami <andrea.adami@gmail.com>
|
|
Date: Thu, 19 Apr 2018 00:28:14 +0200
|
|
Subject: [PATCH] purgatory/string.c: avoid inclusion of string.h
|
|
|
|
Fix
|
|
|
|
purgatory/string.c:39:5: error: conflicting types for 'memcmp'
|
|
|
|
Upstream-Status: Inappropriate [klibc specific]
|
|
Signed-off-by: Andrea Adami <andrea.adami@gmail.com>
|
|
|
|
---
|
|
purgatory/string.c | 2 ++
|
|
1 file changed, 2 insertions(+)
|
|
|
|
--- a/purgatory/string.c
|
|
+++ b/purgatory/string.c
|
|
@@ -1,5 +1,7 @@
|
|
#include <stddef.h>
|
|
+#ifndef __KLIBC__
|
|
#include <string.h>
|
|
+#endif
|
|
|
|
size_t strnlen(const char *s, size_t max)
|
|
{
|