Change sbrk() to take an int rather than an intptr_t (following the OpenBSD way
authorDavid Given <dg@cowlark.com>
Wed, 23 Nov 2016 21:06:24 +0000 (22:06 +0100)
committerDavid Given <dg@cowlark.com>
Wed, 23 Nov 2016 21:06:24 +0000 (22:06 +0100)
commit36ab90385fb33c3e7bec0fcb58de70ad1b464d4a
tree3cb648d36069b47806413fca9b032f8c41d9de92
parent0aac9aafd3a4e81171d1a4a4ed50f39366df1450
Change sbrk() to take an int rather than an intptr_t (following the OpenBSD way
rather than the Linux way; various non-C bits of the ACK assume it takes an
int, so it's cleaner).
12 files changed:
plat/cpm/include/unistd.h
plat/cpm/libsys/brk.c
plat/linux/libsys/sbrk.c
plat/linux386/include/unistd.h
plat/linux68k/include/unistd.h
plat/linuxppc/include/unistd.h
plat/pc86/include/unistd.h
plat/pc86/libsys/brk.c
plat/qemuppc/include/unistd.h
plat/qemuppc/libsys/brk.c
plat/rpi/include/unistd.h
plat/rpi/libsys/brk.c