public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f6f22f
)
z80: add memmove prototype
author
Alan Cox
<alan@linux.intel.com>
Sat, 30 Jun 2018 22:07:58 +0000
(23:07 +0100)
committer
Alan Cox
<alan@linux.intel.com>
Sat, 30 Jun 2018 22:07:58 +0000
(23:07 +0100)
Kernel/cpu-z80/cpu.h
patch
|
blob
|
history
diff --git
a/Kernel/cpu-z80/cpu.h
b/Kernel/cpu-z80/cpu.h
index
3c8de8e
..
859500a
100644
(file)
--- a/
Kernel/cpu-z80/cpu.h
+++ b/
Kernel/cpu-z80/cpu.h
@@
-47,6
+47,8
@@
extern char *strncpy(char *dest, const char *src, size_t n);
extern char *strchr(const char *s, int c);
extern void *memset(void *dest, int c, size_t n);
#endif
+/* There is no compiler optimized inline memmove */
+extern void *memmove(void *dest, const void *src, size_t n);
extern int16_t strlen(const char *p);
@@
-91,4
+93,4
@@
typedef union { /* this structure is endian dependent */
/* SDCC does not support attribute(packed) but then it also doesn't insert
padding either */
-#define __packed
\ No newline at end of file
+#define __packed