6b787b91fc
System III, 4.3BSD-Reno, Ultrix 3.1 and `home made'' fixes and enhancements PR: ports/68127 Submitted by: Cyrille Lefevre <cyrille.lefevre@laposte.net>
16 lines
386 B
C
16 lines
386 B
C
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);
|
|
}
|