Commit graph

5 commits

Author SHA1 Message Date
Daniel Nyström ce07837e32 wirish/syscalls.c: Replace obsolete caddr_t with void *
caddr_t is obsolete in POSIX and thus unavailable in most modern
toolchains. caddr_t usage should be replaced by void *.

stddef.h includes the size_t typedef which was missing.

Signed-off-by: Daniel Nyström <daniel@nystrom.st>
2013-06-04 14:17:38 +02:00
Magnus Lundin f66451de16 wirish/syscalls.c: add weak exit function.
For toolchains which require an exit function.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2013-05-02 11:39:24 -04:00
Marti Bolivar 14ce7ffcca wirish/syscalls.c: Assert LeafLabs copyright.
_sbrk() is new in 2011, and there've been changes in 2012.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-06-07 19:15:05 -04:00
Marti Bolivar f370db157f wirish/syscalls.c: Weaken I/O related function defs.
For overriding.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-06-07 19:15:05 -04:00
Marti Bolivar d14105d11e Move syscalls.c into Wirish.
libmaple takes orders, it doesn't give them.

Signed-off-by: Marti Bolivar <mbolivar@leaflabs.com>
2012-06-07 19:15:05 -04:00
Renamed from libmaple/syscalls.c (Browse further)