public
/
FUZIX.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37889ea
)
z80: add size_t / ssize_t as we now need them
author
Alan Cox
<alan@etchedpixels.co.uk>
Tue, 20 Oct 2015 08:33:32 +0000
(09:33 +0100)
committer
Alan Cox
<alan@etchedpixels.co.uk>
Tue, 20 Oct 2015 08:33:32 +0000
(09:33 +0100)
Kernel/cpu-z80/cpu.h
patch
|
blob
|
history
diff --git
a/Kernel/cpu-z80/cpu.h
b/Kernel/cpu-z80/cpu.h
index
9a1e12d
..
9e5fe12
100644
(file)
--- a/
Kernel/cpu-z80/cpu.h
+++ b/
Kernel/cpu-z80/cpu.h
@@
-5,6
+5,9
@@
typedef signed short int16_t;
typedef unsigned char uint8_t;
typedef signed char int8_t;
+typedef uint16_t size_t;
+typedef int16_t ssize_t;
+
typedef int16_t arg_t; /* Holds arguments */
typedef uint16_t uarg_t; /* Holds arguments */
typedef uint16_t usize_t; /* Largest value passed by userspace */