diff options
Diffstat (limited to 'shells/v7sh/files/patch-setbrk.c')
-rw-r--r-- | shells/v7sh/files/patch-setbrk.c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/shells/v7sh/files/patch-setbrk.c b/shells/v7sh/files/patch-setbrk.c new file mode 100644 index 000000000000..e3cffed4bd67 --- /dev/null +++ b/shells/v7sh/files/patch-setbrk.c @@ -0,0 +1,16 @@ +diff -u -x CVS -x work -x core -x *.core -x #* -x *~ -x *.orig -x *.rej -I $Id.*$ -I $.+BSD.*$ setbrk.c.orig setbrk.c +--- setbrk.c.orig Fri Jun 4 02:51:02 2004 ++++ setbrk.c Sat Jun 19 18:42:24 2004 +@@ -9,9 +9,10 @@ + + #include "defs.h" + +-setbrk(incr) ++BYTPTR setbrk(incr) ++ INT incr; + { +- REG BYTPTR a=sbrk(incr); ++ REG BYTPTR a=(BYTPTR) sbrk(incr); + brkend=a+incr; + return(a); + } |