summaryrefslogtreecommitdiff
path: root/memcpy.c
diff options
context:
space:
mode:
authorJason Thorpe <thorpej@me.com>2021-06-02 20:53:10 -0700
committerRichard Henderson <richard.henderson@linaro.org>2021-06-05 17:26:13 -0700
commit394234f7d7fb737198783ce6340873858aa939f9 (patch)
tree3d21a052fc5994965cd355afaee9bdcdeacb8528 /memcpy.c
parentbf0e13698872450164fa7040da36a95d2d4b326f (diff)
downloadqemu-palcode-394234f7d7fb737198783ce6340873858aa939f9.zip
qemu-palcode-394234f7d7fb737198783ce6340873858aa939f9.tar.gz
qemu-palcode-394234f7d7fb737198783ce6340873858aa939f9.tar.bz2
Make qemu-palcode build environment standalone. NFC.
Don't include system headers. Instead, provide standalone definitions and declarations of types needed and functions used by the PALcode that are compatible with the standard Alpha / GCC ABI. Signed-off-by: Jason Thorpe <thorpej@me.com> Message-Id: <20210603035317.6814-2-thorpej@me.com> Signed-off-by: Richard Henderson <richard.henderson@linaro.org>
Diffstat (limited to 'memcpy.c')
-rw-r--r--memcpy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/memcpy.c b/memcpy.c
index b6bbb74..9e1e913 100644
--- a/memcpy.c
+++ b/memcpy.c
@@ -8,7 +8,7 @@
* This is a reasonably optimized memcpy() routine.
*/
-#include <string.h>
+#include "protos.h"
/*
* Note that the C code is written to be optimized into good assembly. However,