Deleted Added
full compact
1c1
< /* $Header: /src/pub/tcsh/tc.alloc.c,v 3.36 2002/03/08 17:36:47 christos Exp $ */
---
> /* $Header: /src/pub/tcsh/tc.alloc.c,v 3.39 2005/01/05 16:06:14 christos Exp $ */
43c43
< RCSID("$Id: tc.alloc.c,v 3.36 2002/03/08 17:36:47 christos Exp $")
---
> RCSID("$Id: tc.alloc.c,v 3.39 2005/01/05 16:06:14 christos Exp $")
50,53d49
< #if defined(_VMS_POSIX) || defined(_AMIGA_MEMORY)
< # define NO_SBRK
< #endif
<
164c160
< register size_t nbytes;
---
> size_t nbytes;
167,169c163,165
< register union overhead *p;
< register int bucket = 0;
< register unsigned shiftr;
---
> union overhead *p;
> int bucket = 0;
> unsigned shiftr;
240c236
< register int bucket;
---
> int bucket;
242,245c238,241
< register union overhead *op;
< register int rnu; /* 2^rnu bytes will be requested */
< register int nblks; /* become nblks blocks of the desired size */
< register int siz;
---
> union overhead *op;
> int rnu; /* 2^rnu bytes will be requested */
> int nblks; /* become nblks blocks of the desired size */
> int siz;
298,299c294,295
< register int size;
< register union overhead *op;
---
> int size;
> union overhead *op;
341c337
< register char *cp, *scp;
---
> char *cp, *scp;
381c377
< register U_int onb;
---
> U_int onb;
384c380
< register int i;
---
> int i;
457,458c453,455
< register union overhead *p;
< register int i, j;
---
> union overhead *p;
> size_t i;
> int j;
496c493
< #ifndef NO_SBRK
---
> #ifdef HAVE_SBRK
499c496
< #endif /* !NO_SBRK */
---
> #endif /* HAVE_SBRK */
505c502
< #ifdef NO_SBRK
---
> #ifndef HAVE_SBRK
510c507
< #endif /* NO_SBRK */
---
> #endif /* !HAVE_SBRK */
523c520
< #ifndef NO_SBRK
---
> #ifdef HAVE_SBRK
526c523
< #endif /* NO_SBRK */
---
> #endif /* HAVE_SBRK */
532c529
< #ifdef NO_SBRK
---
> #ifndef HAVE_SBRK
537c534
< #endif /* NO_SBRK */
---
> #endif /* !HAVE_SBRK */
551c548
< #ifndef NO_SBRK
---
> #ifdef HAVE_SBRK
554c551
< #endif /* NO_SBRK */
---
> #endif /* HAVE_SBRK */
567c564
< #ifdef NO_SBRK
---
> #ifndef HAVE_SBRK
572c569
< #endif /* NO_SBRK */
---
> #endif /* !HAVE_SBRK */
601,602c598,599
< register int i, j;
< register union overhead *p;
---
> size_t i, j;
> union overhead *p;
624c621
< #ifndef NO_SBRK
---
> #ifdef HAVE_SBRK
626c623
< #endif /* !NO_SBRK */
---
> #endif /* HAVE_SBRK */